Animate.css 一款强大的预设css3动画库

插件描述:Animate.css内置了很多典型的css3动画,兼容性好使用方便。
Animate.css是一个有趣的,跨浏览器的css3动画库。很值得我们在项目中引用。
用法
1、首先引入animate css文件
<head> <link rel="stylesheet" href="animate.min.css"> </head>
2、给指定的元素加上指定的动画样式名
<div class="animated bounceOutLeft"></div>
这里包括两个class名,第一个是基本的,必须添加的样式名,任何想实现的元素都得添加这个。第二个是指定的动画样式名。
3、如果说想给某个元素动态添加动画样式,可以通过jquery来实现:
$('#yourElement').addClass('animated bounceOutLeft');
4、当动画效果执行完成后还可以通过以下代码添加事件
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething);
5、所有的动画样式名请参见demo页面。



- 如何通过养博客增加网站的外部链接
- Linux清空屏幕和清空当前输入的快捷键
- Cygwin中vi编辑器方向键和Backspace键不好使的解决方法
- Cookie起源与发展
- git pull 出错 fatal: Could not read from remote repository.Please make sure you have the correct access rights.and the repository exists.
- 在导航上面添加狂欢一下教程
- js判断两个数组的值内容是否相同
- clipboard使用总结---web复制粘贴库
- 一个HTTP打趴80%的面试者
- Animate.css 一款强大的预设css3动画库
本文作者:起点终站
文章标题: Animate.css 一款强大的预设css3动画库
本文地址:https://blog.hellozwh.com/?post=192
版权声明:若无注明,本文皆为“起点终站”原创,转载请保留文章出处。
本文地址:https://blog.hellozwh.com/?post=192
版权声明:若无注明,本文皆为“起点终站”原创,转载请保留文章出处。


