S
S
Sanzhar Bazarbek2021-03-04 10:07:20
css
Sanzhar Bazarbek, 2021-03-04 10:07:20

How to make a reverse animation when retracting?

Task: to implement a button with a rotation animation

As a result: When the cursor is hovered, the animation works (but not much twitches), and when the mouse cursor is moved away, the animation worked in the opposite direction

https://jsfiddle.net/8kwgax5v/53/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2021-03-04
@Rezvor

Move transition from hover to main selector

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question