Get new jQuery plugins just once a week

×

BackgroundCheck

FavoriteLoadingAdd to favorites

May 17, 2014

BackgroundCheck | js plugin to switch color according to backgrounds

BackgroundCheck is a javascript plugin that automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
If an element overlaps any of the images, either .background–dark or .background–light is added to it. BackgroundCheck does not change an element’s style — you must do so using CSS.

Some of the options are :-

Example Codes :

Css :

p.background--light {
color: black;
}

js :

BackgroundCheck.init({
targets: '.ui',
images: '.thumbnail'
});

Created by Kenneth Cachia

Download

Example

BackgroundCheck jQuery plugin

automatic switch

BackgroundCheck

Related posts:

ReKapi
picEdit
jfMagnify
BackgroundCheck jQuery plugin

http://jquer.in/wp-content/uploads/2014/05/BackgroundCheck.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever