使用animate.css爲你的網頁添加動畫

需要一下幾個步驟

下載animate.css並放到可引用的位置

在網頁中引入animate.css

...
<head>
    <link href="sources/css/animate.css" rel="stylesheet" type="text/css">
</head>

在需要動畫的位置引入動畫類

...
<div class="[other class]  animated fadeInUp">
...
</div>

其中動畫效果有幾十個,可以到官網搜索並在線感受動畫效果,選擇適合你的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章