Answer the question
In order to leave comments, you need to log in
How to make an animation that transforms one element into another?
With a fairly mediocre knowledge of CSS, I can not understand how such an animation is done.
Those. one element - the button turns into another - the whole form.
Is the yellow square shape at the end of the animation a modified button, or is it a completely different markup element?
My only option is that the button is animated, changing its geometry from a circle to a square and exposing it to an absolute position exactly above the hidden form element, after the animation is over, the button is hidden and the form is made visible, but does this require JS?
Answer the question
In order to leave comments, you need to log in
Is the yellow square shape at the end of the animation a modified button, or is it a completely different markup element?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question