animate.css的使用方法简介

animate.css是一个关于CSS3的animation制作的动画效果的CSS集合,里面预设了很多种常用的动画,且使用非常简单。只需在页面中导入animatecss;
第一步 下载animate.css

https://daneden.github.io/animate.css/

animate.css的使用方法简介
第二步 在页面中导入 animate的样式

<link rel="stylesheet" href="/animate/animate.css">

最后 就在你需要的地方 加上 class="shake animated"

一下是 animatecss的 效果
animate.css的使用方法简介
主要包括Attention(晃动效果)、bounce(弹性缓冲效果)、fade(透明度变化效果)、flip(翻转效果)、rotate(旋转效果)、slide(滑动效果)、zoom(变焦效果)、special(特殊效果) shake(抖动效果) 等等