ScrollReveal
Animate elements as they scroll into view.
Installation
Browser
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.
Module
npm install scrollreveal
CommonJS
const ScrollReveal = require('scrollreveal')
ES2015
import ScrollReveal from 'scrollreveal'
Copyright 2018 Fisssion LLC