Skip to content

CoderLearningCode/scrollreveal

Repository files navigation

ScrollReveal

ScrollReveal

Animate elements as they scroll into view.

Build status Monthly downloads Version 5.4KB min+gzip GPLv3 License

Browser compatibility matrix



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 © 2017 Fisssion LLC

About

Animate elements as they scroll into view.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%