jQuery Script - Daily jQuery articles & snippets to become a jQuery Master - Subscribe Now

Press ESC to close

AdaptiveColors [Download]

Axel 0

This jQuery plugin searches for the first child of the selected element and collects the color information from it, which is
set as the the background color of the element by it. The detection based on the src or srcset attribute of the
child element, or if it’s not an image then it based on the background-image or background css property of the
child.

Continue reading