I have a feeling I may be missing something exceptionally obvious, but I’m a bit confused by animations.
So I’m designing a basic menu icon, that rotates upon being clicked, and then returns to normal on a second click.
What I don’t understand, is with the second click animation that returns it to its original state. If I have the initial state of the second animation with no value for rotation, and the final state to be 0 - it works (even though there is an error message asking for an initial value).
However, if I set the second click animation to start at 180 degrees (this is the rotation from the first click) it doesn’t work correctly.
Is there an easier way to ‘return to origin’ with these kind of animations.
Here is my public share link:
https://preview.webflow.com/preview/new-idea?preview=d3ceca9591a8f7cd1cb6899b0d6f3f64