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 282 forks source link

Does not work with img inside Picture element #78

Closed Kilbourne closed 8 years ago

Kilbourne commented 8 years ago

Ok resolved. Setted picture element as inline-block so get img dimensions and backgroundcheck works...