1.安裝
npm install animate.css
或
yarn add animate.css
2.在main.ts中引入
import 'animate.css/animate.min.css' //引入
3.組件中使用
一定要加入animated,然后使用animate__xxx即可
<div v-show="show" class="bg-red-300 w-90 animated animate__bounceInDown ">animated</div>
1.安裝
npm install animate.css
或
yarn add animate.css
2.在main.ts中引入
import 'animate.css/animate.min.css' //引入
3.組件中使用
一定要加入animated,然后使用animate__xxx即可
<div v-show="show" class="bg-red-300 w-90 animated animate__bounceInDown ">animated</div>
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。