D
D
Dmitry Agibalov2015-10-26 15:01:59
css
Dmitry Agibalov, 2015-10-26 15:01:59

The animation starts when you hover over the sprite. How can I make the animation reverse when the cursor is removed?

for example: woman365.ru/recipes/omlet-bez-moloka
I want to do the same.
example of my code:
f7be65ed7e2343059ddc5892dda53d5b.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Sofronov, 2015-10-26
@Verilly

In your case, just do this:

.button1 { transition: 2s; }

    .button1:hover { transform: rotate(360deg); }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question