Uploaded November 2021 | Updated November 2026, 2 days ago
Let me show you a cool trick to change our navigation bar color each time we scroll to a new section. Although ScrollTrigger makes this stuff easy, there's a little twist you have to be aware of.
Demo: codepen.io/snorkltv/pen/KKvQOKY?editors=0010
Master the Art of GreenSock Animation
Unlock ALL my GreenSock courses:
creativecodingclub.com/bundles/creative-coding-club
Let me show you a cool trick to change our navigation bar color each time we scroll to a new section. Although ScrollTrigger makes this stuff easy, there's a little twist you have to be aware of.
Demo: codepen.io/snorkltv/pen/KKvQOKY?editors=0010
Master the Art of GreenSock Animation
Unlock ALL my GreenSock courses:
creativecodingclub.com/bundles/creative-coding-club










