How do I change the css class or alternatively manipulate a div when its at a certain point in the screen after I've dragged scrolled on it. I'm trying to recreate the coverflow effect from the old Ipod nanos. I'm sorry this maybe a really silly question but I'm really new to Greensock.
Change css class using scrollTrigger
in GSAP
Posted
Hello Greensock,
How do I change the css class or alternatively manipulate a div when its at a certain point in the screen after I've dragged scrolled on it. I'm trying to recreate the coverflow effect from the old Ipod nanos. I'm sorry this maybe a really silly question but I'm really new to Greensock.
Cheers!
See the Pen LYQVoyv by ToffeeNode (@ToffeeNode) on CodePen