kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 281 forks source link

Inline Style #42

Closed Bluxart closed 10 years ago

Bluxart commented 10 years ago

Hi I tested your plugin and is very awesome, otherwise the plugin don't work with background-image inline-style.

It is possible, to add support for this feature?

Tailzip commented 10 years ago

I am able to make it work on inlined background-image styles.

Mac OS X 10.9.5 - Chrome 38

Bluxart commented 10 years ago
<div class="target" style="background-image: ();"></div>

I re-try to test it. Thanks.

kennethcachia commented 10 years ago

@Bluxart Are you still having issues with this?

Bluxart commented 10 years ago

Sorry for delay. Today I re-test and I send you the result.

Bluxart commented 10 years ago

Work perfectly my fault. I look forward to a future upgrade to solid colors detection. Great work.

kennethcachia commented 10 years ago

No problem! :) Thanks