Hello wonderful people. I need help with my navbar,
So the codepen demonstrates the perfect animations I need, the only thing I'm lacking is once the navbar is on the very top of the view port, return it to its original color and not red. I don't want to use CSS classes for this but rather use full control of scroll trigger and timelines.
I'm using this with React and Styled-components, I tried using toggle class and with start and end markers, no avail
Thank you to anyone whose willing to help! ?