Reputation: 161
I've designed an SVG in illustrator, and got it rotating with CSS3 but its rotating from top left.
Is there anyway I can set the anchor to the center of the shape?
Thank you!
Upvotes: 2
Views: 384
Reputation: 31858
Transforms in SVG are around the origin (0,0) and there is no transform-origin
in SVG yet, like there is in CSS.
There are ways to fake it but they are not that straightforward: How to set transform origin in SVG
Upvotes: 3