Hello everyone,
I have some color change animations in a site, a fixed button on the top right changes color as the background color of the body changes.
When the background of the body changes to yellow, the fixed button background changes to green.
Also, the navbar with the logo disappears on scroll down and reappears on scrollup, and the navbar has a green background, so on scroll up when the body background is yellow, the navbar has the same color with the button.
I do not want to play the color change animation for the button on scroll up at all.
Thank you.