Answers for "gsap pin scrolltrigger"

0

gsap pin scrolltrigger

gsap.registerPlugin(ScrollTrigger);

gsap.utils.toArray('.layer').forEach(layer => {
  ScrollTrigger.create({
    trigger: layer,
    pin: true,
    start: 'top top',
    pinSpacing: false,
  });
});
Posted by: Guest on May-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language