Leonardo da Costa
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Leonardo da Costa
-
-
Hi team! I'm trying to build a horizontal scroll section where the background color fade to a different one whenever the next sections comes into view on scroll. I was able to accomplish this when scrolling forwards during the first time through, however, when scrolling backwards the background stays the same as from the last section. Thank you in advanced for your time, let me know if this is something that is doable. Thanks!
See the Pen qBKjJPG by costaleonardo (@costaleonardo) on CodePen
Horizontal Scroll w/ ScrollTrigger - Change Background Color Scrolling Forwards and Backwards
in GSAP
Posted
Thank you for the fast response @Rodrigo !
It's acting a little funky but definitely what I was looking for. Thank you for guiding me towards the right direction! I'll play around and read the docs to have it working properly.
Thanks!