Answer the question
In order to leave comments, you need to log in
Why css transform doesn't work correctly in svg?
The transformation works, but the object is shifting, I don’t even know how to do it anymore. The circle must spin non-stop non-stop
Video
Answer the question
In order to leave comments, you need to log in
Isn't it easier to throw a code into the sandbox than to make a video? Because it's easier to understand in the sandbox.
Therefore, only an assumption:
You do not correctly represent the pivot point. Elements do not rotate about their center, as we would all like. Read this article, I think it will become clear: https://css-tricks.com/transforms-on-svg-elements/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question