ScrollTrigger

Triggers classes on HTML elements based on the scroll position. It makes use of requestAnimationFrame so it doesn't jack the users scroll, that way the user / browser keeps their original scroll behaviour. Animations run when the browser is ready for it.

Tags: scroll, trigger, animation, css3

Version

Asset Type

  • https://cdnjs.cloudflare.com/ajax/libs/ScrollTrigger/0.3.1/ScrollTrigger.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/ScrollTrigger/0.3.1/ScrollTrigger.js

Library Tutorials

Want to write your own awesome tutorials? Make and submit them today