项目
在 GitHub 查看
benhowdle89/Adaptive-Backgrounds
关于
A JavaScript plugin for extracting the dominant color from images and applying the color to their parent.
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Adaptive-Backgrounds
A JavaScript plugin for extracting the dominant color from images and applying the color to their parent.
- Simply set a data attribute on desired images and the plugin will apply the image's dominant color to it's parent element's background.
- Caveat: Doesn't work with remote images if the respective server has CORS disabled, ie. it won't work with Flickr URLs...
- Credit: Heavily inspired by jquery.adaptive-backgrounds.js - basically, it's the jQuery free version.
- Browser support: IE9+
探索相关项目
加载中…