grizhlie Posted June 21, 2023 Share Posted June 21, 2023 Hi gang, Just curious if anyone can improve/simplify the javascript bit of the codepen URL. Haven't worked with a timeline in a bit so I may have missed some bits or overcomplicated it. The animation works exactly as I wanted it though, so that's great! Cheers! See the Pen VwVKWNX?editors=1010 by grizhlie (@grizhlie) on CodePen 1 Link to comment Share on other sites More sharing options...
Solution SteveS Posted June 21, 2023 Solution Share Posted June 21, 2023 Looks pretty clean to me. Animating SVGs over DOM elements can sometimes be less performant, but that generally doesn't matter with animations this small. 2 Link to comment Share on other sites More sharing options...
grizhlie Posted June 21, 2023 Author Share Posted June 21, 2023 @SteveS Excellent, thank you for taking the time to look over it, I appreciate it Yeah, all animations will be relatively minimal for the project I'm building so I appreciate that tidbit of info. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now