xScroll.js 一款轻量级的元素滚动插件

使用前请引入 jQuery 和 Animate 库

配合 Animate.css 一起使用

简洁
方便
迅速
轻量

使用文档:

1、引入animate.css

<link rel="stylesheet" href="https://cdn.bootcss.com/animate.css/3.7.0/animate.css">

2、HTML

 <div class="xScroll(可以自定义类名)" data-animation="fadeInUp(animate的动画名称)"><div>

3、调用

<script> $(".xScroll(自己设定的类名)").xScroll(); <script>

适用浏览器:360、FireFox、Chrome、Opera、傲游、搜狗、世界之窗. 不支持Safari、IE8及以下浏览器。

来源:懒人