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