javascript - Scroll to the specified height and start to play animations in turn. This is how the QQPC official website does it. Which open source library should be used to make it more convenient?
大家讲道理
大家讲道理 2017-05-16 13:21:45
0
6
543

http://im.qq.com/pcqq/

Let’s study it

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(6)
给我你的怀抱

wow.js, you can take a look, it needs to be used with animation.css.
https://github.com/matthieua/WOW
https://daneden.github.io/ani...

oppo’s example: http://www.dowebok.com/demo/1...
In addition, you can also write it yourself.

PHPzhong

Written by myself, monitor the scroll bar when it reaches the scroll height, and give a class to the elements that need animation. This class is a css animation

为情所困

You can write it directly with CSS3, combined with JS

Ty80

The correct answer upstairs can be achieved with WOW.js. When reaching the current height, an animation class will be added

我想大声告诉你

scrollReveal.js This is what I use. http://dreamwq.com/home/ You can feel it

给我你的怀抱

Written by yourself is scrollTop

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!