vue3中使用animate.css


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刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM