Jloafs Posted November 10, 2022 Share Posted November 10, 2022 If anyone could shed some light on this I'd be very grateful. I'm trying to animate the flip of an underline between li items in a nav. The underline is switching position but it's not animating. What am I missing? Many Thanks. See the Pen ZERLdJB?editors=0010 by jloafs-DM (@jloafs-DM) on CodePen 1 Link to comment Share on other sites More sharing options...
Solution Trapti Posted November 10, 2022 Solution Share Posted November 10, 2022 Hi, here is a forked pen See the Pen dyKvbOp?editors=1010 by tripti1410 (@tripti1410) on CodePen To see the effect clearly I added rotation for the underline. I have made changes in line 10 and 11 Hope this helps. Happy tweening! 2 Link to comment Share on other sites More sharing options...
Jloafs Posted November 10, 2022 Author Share Posted November 10, 2022 That's awesome thanks Trapti. Have a great day. 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