首页 > 代码库 > animation
animation
https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js
http://mynameismatthieu.com/WOW/dist/wow.min.js
http://mynameismatthieu.com/WOW/css/libs/animate.css
http://mynameismatthieu.com/WOW/
<section class="wow slideInLeft" data-wow-duration="2s" data-wow-delay="5s"></section> <section class="wow slideInRight" data-wow-offset="10" data-wow-iteration="10"></section>
new WOW().init();
var wow = new WOW({ boxClass: ‘wow‘, // animated element css class (default is wow) animateClass: ‘animated‘, // animation css class (default is animated) offset: 0, // distance to the element when triggering the animation (default is 0) mobile: true, // trigger animations on mobile devices (default is true) live: true, // act on asynchronously loaded content (default is true) callback: function(box) { // the callback is fired every time an animation is started // the argument that is passed in is the DOM node being animated } }); wow.init();
.bounce {
animation: bounce 2s 0s;
}
.zoom-out {
animation: zoom-out 2s;
}
.infinite {
animation-iteration-count: infinite;
}
.mode {
animation-fill-mode: forwards;
}
.direction {
animation-direction: alternate;
}
@keyframes zoom-out {
0% {
transform: scale3d(0,0,0);
}
100% {
transform: scale3d(1,1,1)
}
}
animation
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。