Share Posted January 26 I have this logo that currently spins as you scroll, which is what I want. But I also need the path fill color to animate to a grey color as you scroll down the page. But not instantly switch to a new color once you scroll. So like if I scroll down a little bit and stop it should be a color between the yellow and the grey color, but not quite the full grey yet until I keep scrolling. Does that make sense? This example shows the color change animations as you scroll : See the Pen ff7dabf8f0946c406bdc61487b4f3f04 by akapowl (@akapowl) on CodePen But I tried using a similar method with no luck. Any help here is appreciated. Thanks Below is my current code attempt: See the Pen Yzjvzpb by mattmcgilton (@mattmcgilton) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now