1.安装:

npm install animate.css --save

2.引入及使用:

//main.js中
import animated from 'animate.css' 
Vue.use(animated)

3.在vue文件中使用:

<div class="ty">
     <!-- 直接使用animated中的动画class名,注意:必须使用animated这个class名,否则动画会无效 -->
     <div class="box animated bounceInDown"></div>
</div>
Logo

分享最新的 NVIDIA AI Software 资源以及活动/会议信息,精选收录AI相关技术内容,欢迎大家加入社区并参与讨论。

更多推荐