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?
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
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.
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
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