Javascript Library For Animation Scroll Interactions – ScrollAnimate

Category: Animation , Javascript | December 26, 2018
Views Total:745 views
Official Page:Go to website
Last Update:December 26, 2018
License:MIT & GPL


Javascript Library For Animation Scroll Interactions – ScrollAnimate


ScrollAnimate is a JavaScript library for animation scroll interactions. Dual licensed under MIT license and GPL.

The library makes uses of Animate.css to animate any HTML elements as you scroll the webpage.

More features:

  • Supports both horizontal and vertical directions.
  • Allows to disable the scroll interactions on certain devices.

How to use it:

Include both Animate.css and ScrollAnimate.js on the webpage.

<link rel="stylesheet" href=""/>
<script src="js/scrollAnimate.js"></script>

Apply the ScrollAnimate to the target elements and specify the animation type you want to use.

  // target elements
  selector: '.animated',
  // animation class
  animationClassName: 'fadeInUp',
  // offset
  offset: '10%',
  // or 'horizontal'
  scroll: 'vertical',
  // only trigger once
  triggerOnce: false,
  // disable on tablet and mobile
  disabled: ['tablet', 'mobile'],
  // delay in ms
  delay: 0,
  // duration in ms
  duration: '1000',
  // iteration count
  iterationCount: '1'

You Might Be Interested In:

Leave a Reply