Hello Guys,
I am trying to create an effect with horizontal scroll where text will be static and will change the color according to background color.
Please Codesandbox Example where
1. First block has white background with "Thank You" text in black
2. On scroll, horizontally it should scroll and background should be black and "Thank you" text should be in white
3. then on scroll to end, start vertical scrolling
Hi @digambar patil welcome to the forum!
Before doing anything with ScrollTrigger you have to ask your self what is the animation I want to happen and focus on creating that animation. The best thing to do when working with ScrollTrigger is to remove it! This seems counter intuitive, but ScrollTrigger is just animating something on scroll, so just focus on the animation at first and only when you're happy with the animation add ScrollTrigger back in. This way you can focus on one pa