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

animate.css配合wow.min.js实现各种页面滚动效果

时间:2016-08-04 19:06:06      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:

有的页面在向下滚动的时候,有些元素会产生细小的动画效果。虽然动画比较小,但却能吸引你的注意。比如刚刚发布的 iPhone 6 的页面(查看)。如果你希望你的页面也更加有趣,那么你可以试试 WOW.js。

WOW.js 依赖 animate.css,所以它支持 animate.css 多达 60 多种的动画效果,能满足您的各种需求。

html中使用方法:

 <div class="row wow fadeInUp" data-wow-duration="1s" data-wow-delay="1s">

js中使用方法:

 

<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/wow.min.js"></script>
<script>
$(function(){
new WOW().init();
})
</script>

animate.css配合wow.min.js实现各种页面滚动效果

标签:

原文地址:http://www.cnblogs.com/cxf520/p/5737639.html

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