B
B
Buffythecat2018-11-05 21:27:29
css
Buffythecat, 2018-11-05 21:27:29

How to animate the movement of a pseudo-element around a button with border-radius?

I've been sitting all day, I can't make the animation of the icon around the button...
If you do it the usual way through translate, it turns out not smooth on the rounded edges. And the hack with rotate cannot be tied together with horizontal movement ... Help someone, I've been sitting for 5 hours already (
like this https://gyazo.com/63ec01198bebcb800cb566149356f61f

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question