1.0.4 • Published 6 years ago
web-animation.css v1.0.4
web-animation.css
web-animation.css 动画库,可以通过 bower 和 npm 下载
参考
https://github.com/daneden/animate.css https://github.com/Martz90/vivify
使用 SASS 语法编写,使用 gulp 前端打包工具进行打包
download
git clone https://github.com/vxhly/web-animation.css.git
npm
npm install web-animation.css --save
bower
bower install web-animation.css --save
use
<link rel="stylesheet" href="./dist/css/animation.min.css">
animation 属性大全
infinite: 无限播放
fadeIn: 淡入(100%, 1s)
left: 从左到右
right: 从右到左
top: 从上到下
bottom: 从下到上
*-big: 跨度大(2000px, .75s)
fadeOut: 淡出(100%, 1s)
left: 从左到右
right: 从右到左
top: 从上到下
bottom: 从下到上
*-big: 跨度大(2000px, .75s)