In the codepen attached, the colors change alright, but the transition is sudden.
Now, I know I could add a Transition property to the section in CSS, but then, the transition ignores, scrub:true and takes a specific amount of time, instead of transitioning with scroll. Any way of transitioning with GSAP?
Thanks in Advance,
Harshit