S
S
Stanislav2016-02-13 17:21:34
css
Stanislav, 2016-02-13 17:21:34

How to smoothly rotate the arrow icon on click?

Guys, tell me how to implement the arrows like on auto.ru, I really liked the execution of the arrows when hovering in the header on the link, the arrow turns smoothly (I need it to turn when clicked)
But how is it implemented? I dug a little there, it seems like .svg is included in the styles, but then you can see js processes everything.
Maybe there are examples somewhere ready to look at the implementation, any information will be useful to me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Fedorov, 2016-02-13
@ms-dred

Sort of... codepen.io/aliencash/pen/YwBLWK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question