Adaptive Backgrounds is a specialJQueryPlugin that extracts dominant colors from an image and applies them to its parent element. This plug-in exploitsCanvasElement and ImageData object. Note that due to cross-site security restrictions, this script fails if you try to extract colors from images that are not hosted in the current domain, unless the image allows cross-origin Resource Sharing (CORS ).
Articles you may be interested in
- Metronic-Bootstrap-based responsive background management template
- Sharing of dry goods-32 excellent JavaScript free e-books
- Debuggex-Excellent visual debugging tool for Regular Expression
- Zepto. js-a lightweight JavaScript library for modern browsers
- HTML Inspector-helps you write high-quality HTML code
Articles you may be interested in
- OverAPI.com-the most comprehensive Online quick query manual for developers in history
- IconVault-powerful tool recommendation for creating custom icon Fonts
- Use Fries to create a mobile app interface with a sexy Android Style
- Transit-ultra-smooth CSS transition and transform animation effect plugin
- 10 popular Bootstrap themes and templates in Metro UI Style
Link to this article: Adaptive Backgrounds-jQuery Adaptive Background plugin
Source: Dream sky ◆ focus on front-end development technology ◆ share web design resources