Categories
How to rotate SVG on its own axis?
Given an SVG image, I'm trying to rotate the gear on its axis, instead it spins around an unknown center to me. What am I doing wrong? https://codepen.io/olegoriginal/pen/NWWdZeE
Answer the question
In order to leave comments, you need to log in
transform-origin: 50% 50%; transform-box: fill-box ;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question