jQuery模糊效果插件:Vague.js
jQuery插件通過SVG濾鏡模糊HTML元素。
瀏覽器支持情況
- Mozilla Firefox (v10 and above)
- Google Chrome (v18 and above)
- Safari (v6.0 and above)
- Microsoft Internet Explorer (v7-9; v10+ not supported)
文檔
Check the demos here on GitHub Pages and on Codepen.
Requisites
jQuery JavaScript Library
Installation
bower install vague.js --save
用法
var vague = $('#yourelement').Vague({ intensity: 3, // Blur Intensity forceSVGUrl: false, // Force absolute path to the SVG filter, // default animation options animationOptions: { duration: 1000, easing: 'linear' // here you can use also custom jQuery easing functions } }); vague.blur();
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!