需要一下幾個步驟
下載animate.css並放到可引用的位置
在網頁中引入animate.css
如
...
<head>
<link href="sources/css/animate.css" rel="stylesheet" type="text/css">
</head>
在需要動畫的位置引入動畫類
...
<div class="[other class] animated fadeInUp">
...
</div>
其中動畫效果有幾十個,可以到官網搜索並在線感受動畫效果,選擇適合你的。