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

HTML-Element containing image with overflow:hidden; - invisibility of image is ignored #104

Open Blackbam opened 7 years ago

Blackbam commented 7 years ago

If a e.g. a div has the property overflow:hidden; and contains an image, then background-check is checking the underlying image for a target element even if this is not visible.

Is there any solution to this?