ygtankara
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by ygtankara
-
-
Hi. As you can see in the codepen i wanted to use the same effect on multiple elements with less code and that's why i used gsap.utils.toArray but the problem is that i couldn't make it for ScrollTrigger's trigger. It triggers only first .wrap class and i tried it with gsap.utils.toArray but probably i made something wrong.
See the Pen WNjdGPX by ygtankara (@ygtankara) on CodePen
Selecting multiple triggers in one ScrollTrigger which uses gsap.utils.toArray
in GSAP
Posted
Thank you so much