On Scroll Animations on Multiple Divs

Create on scroll animation effects on your website using waypoints and animate.css.

Waypoints allows developers to execute a function when an element is scrolled to, in this case, we will execute an animation.

Animate.css is a library of CSS animations that can be activated by simply adding classes to elements you wish to animate.

After including all of the necessary js and css files to your document, you can add the example classes “animate fadeInUp“. You will notice that these animations are activated on page load. If you would like it activated on page scroll using waypoints, remove the classes from the element, add opacity:0; to the element and then use this code snippet: