github上的地址是: [url]https://daneden.github.io/animate.css/[/url]
Animate.css
Just-add-water CSS animation
animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
基本的使用方法
引入css文件到 <head> 标签中
<head>
<link rel="stylesheet" href="animate.min.css">
</head>
给你想让执行动画的元素的class添加animated. 你还可以添加 infinite这个样式让动画无限循环.
最后你给元素添加下面的一个class,就可以实现不同的动画效果:
[b][color=darkblue]bounce
flash
pulse
rubberBand
shake
headShake
swing
tada
wobble
jello
bounceIn
bounceInDown
bounceInLeft
bounceInRight
bounceInUp
bounceOut
bounceOutDown
bounceOutLeft
bounceOutRight
bounceOutUp
fadeIn
fadeInDown
fadeInDownBig
fadeInLeft
fadeInLeftBig
fadeInRight
fadeInRightBig
fadeInUp
fadeInUpBig
fadeOut
fadeOutDown
fadeOutDownBig
fadeOutLeft
fadeOutLeftBig
fadeOutRight
fadeOutRightBig
fadeOutUp
fadeOutUpBig
flipInX
flipInY
flipOutX
flipOutY
lightSpeedIn
lightSpeedOut
rotateIn
rotateInDownLeft
rotateInDownRight
rotateInUpLeft
rotateInUpRight
rotateOut
rotateOutDownLeft
rotateOutDownRight
rotateOutUpLeft
rotateOutUpRight
hinge
rollIn
rollOut
zoomIn
zoomInDown
zoomInLeft
zoomInRight
zoomInUp
zoomOut
zoomOutDown
zoomOutLeft
zoomOutRight
zoomOutUp
slideInDown
slideInLeft
slideInRight
slideInUp
slideOutDown
slideOutLeft
slideOutRight
slideOutUp[/color][/b]
例子:
<h1 class="animated infinite bounce">Example</h1>
查看所有的动画效果 [url]https://daneden.github.io/animate.css/[/url]
Animate.css 纯CSS动画库
原创
©著作权归作者所有:来自51CTO博客作者pyzheng的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:CSS3实现动画效果教程详解
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
有趣的CSS - 文字加载动画效果
用 css 实现多字符模拟加载动画效果。
css 加载动画 交互 ux 动效 -
【动画工具】animate.css
这个居然没有入库: http://daneden.github.io/animate.css/
animate github css -
animate.css动画库使用方法介绍
animate.css动画库简介 Animate.css是由Dan Eden的Daniel Eden使用CSS3的animation制作的动画效果
animate 动画库 CSS3-0 HTML5 动画效果 -
css3动画简介以及动画库animate.css的使用
在这个年代,你要是不懂一点点css3的知识,你都不好意思说你是个美工。美你妹啊,请叫我前端浏...
前端 javascript ViewUI css 关键帧 -
jQuery封装animate.css
animate.css是一个有趣的,跨浏览器的css3动画库。一、首先引入animate css文件
jquery animatecss css css3动画 -
使用Animate.css制作超炫的CSS3动画
e.min.css">...
css3 css 动画 jquery javascript