码迷,mamicode.com
首页 > Web开发 > 详细

Animate.css

时间:2017-07-09 20:52:14      阅读:1527      评论:0      收藏:0      [点我收藏+]

标签:ted   ref   src   ebe   href   分享   anim   ati   nim   

使用过几次Animate.css,现在来记录一下用法,方便以后直接使用

首先是官网地址 :https://daneden.github.io/animate.css/

非常好用的CSS库, 只需要引入animate.css

 <link rel="stylesheet" href="animate.min.css">

并且为添加动画的元素加上类名 animated 以及用JS添加对应动画效果的类名(效果直接在官网上查看)就可以完成元素动效的添加

(同时有两个class才能够实现动画)

一些动画的属性也可以根据需求调整

    animate-duration: 1s;    //动画持续时间
    animate-delay: 1s;    //动画延迟时间
    animate-iteration-count: 5;    //动画执行次数

 Animate.css兼容性非常好,大部分浏览器都支持。

技术分享

 项目展示

http://static.yuntongauto.com/yth/meber

 

 

 

 

 

 

Animate.css

标签:ted   ref   src   ebe   href   分享   anim   ati   nim   

原文地址:http://www.cnblogs.com/GoTing/p/7141976.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!