V
V
vasIvas2016-02-19 15:22:05
css
vasIvas, 2016-02-19 15:22:05

How to make "finishing" animation?

There is a square that rotates around its center on hover using the animation property.
animation-iteration-count is set to infinite and when the hover is terminated, the square abruptly melts into its initial position. Is it possible to make a smooth fine-tuning to the initial state on only one css.
And I would be glad if it turned out to be possible to smoothly return to the initial position. That is, do not bring to the end, but always return to the initial position at a constant speed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pshkll, 2016-02-19
@Pshkll

Not on CSS. Here JS is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question