Nuxt.js使用 Animate.css

安装Animate.css

$ npm install animate.css --save
$ yarn add animate.css

引入Animate.css

<script>
  import "animate.css";
</script>

使用Animate.css

<h1 class="animate__animated 动画名">瘦子</h1>
      <!-- 例如 -->
      <div class="animate__animated animate__fadeOutRight animate__slow ">shouzi</div>
© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享
评论 抢沙发
瘦子的头像-瘦子-瘦子Blog-瘦子LOG

昵称

取消
昵称表情代码图片