模糊效果插件 Vague.js
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/GianlucaGuarini/Vague.js
软件介绍
Vague.js 是一个实用的脚本,它能让你在任何种类的 HTML 元素上增加模糊效果。Vague.js 会检查用户的设备是否支持 CSS 过滤器,否则它会退回使用 SVG 过滤器或者微软的 CSS 过滤器。
示例代码:
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();