Hi guys,
I am new to GSAP and hoping can point me in the right direction if what I am trying to achieve.
I am trying to animate a div (gradient background ) from offscreen to on screen when it scrolls into view. But I would like to apply this to multiple individual classes and only animate that class when it scrolls into view.
I have it semi-working but I know it is not the right solution. I am nesting ScrollTriggers and I am dynamically creating the ScrollTrigger when the class comes into view. I am ending up with multiple extra instances whenever I reenter.
Any advice or direction would be great! Thanks