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

Doesnt detect background-image of :before elements #82

Open cupcakedream opened 8 years ago

cupcakedream commented 8 years ago

Script throws an error when detecting background-images on the :before element:

Uncaught Elements not found