Animate elements as they scroll into view.
A simple and fast way to get started is to include this script on your page:
<script src="https://unpkg.com/scrollreveal"></script>This will create the global variable ScrollReveal.
If you use this method in production, be sure to specify a fixed version number, and use the minified distribution; e.g:
https://unpkg.com/scrollreveal@4.0.0/dist/scrollreveal.min.js. This improves performance, but also prevents library changes from impacting your project.
npm install scrollrevealconst ScrollReveal = require('scrollreveal')import ScrollReveal from 'scrollreveal'Copyright 2018 Fisssion LLC