In this tutorial you will learn how to use the scroll reveal effect. This effect allows elements on the page to transition into place and opacity when they become visible to the user.
Our Scroll Reveal feature is powered by the script found here: https://github.com/julianlloyd/scrollReveal.js. The script allows you to add "data-scroll-reveal" to HTML elements for on page scroll animations. We recommend adding to DIVs over SPAN etc as DIVs can move vs SPAN tags just fading in. Once you add the code to a DIV refresh a page or scroll down and it will animate in. It will only do this once until you refresh the page again. The great feature about the script is you can use plain English to describe how you'd like to animate your HTML element.
<div data-sr="enter left, over 1.33s, move 100px"> enter left, over 1.33s, move 100px </div>
<div data-sr="enter bottom, wait 1s, move 100px"> enter bottom, wait 1s, move 100px </div>
<div data-sr="enter left move 500px, over 1.33s, wait 2.5s"> enter left move 500px, over 1.33s, wait 2.5s </div>