Create Animate On Scroll Easily with Library

2016 is a year of subtle animations. With the wide support of CSS3 transform and animation properties by modern browsers, we can achieve subtle animations pretty easily.

You can either writing it yourself, or simply use the off-the-shelves solutions (which is quite many nowadays) Here we have another good once called - Animate On Scroll librayr (AOS).

To add AOS to your website is very simple - you just need to add data-aos to the element and define an animation class for it. Once user scroll to that certain page position, it will trigger the animation.

Of course, you can also define when to start the animation sooner or later by using data-aos-offset, data-aos-duration for animation duration, data-aos-delay, delay the animation and etc.

You can also trigger the animation of actual element based on other element by using data-aos-anchor.

I'd say, it's pretty flexible and it has a pretty clear documentation to help you get started.

Kevin Liew is a web designer and developer and keen on contributing to the web development industry. He loves frontend development and absolutely amazed by jQuery. Feel free to say hi to me, or follow @quenesswebblog on twitter.