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.2.4/ScrollTrigger.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/ScrollTrigger/0.2.4/ScrollTrigger.js