+ 6
Rotating picture
how I can rotating picture svg
2 ответов
+ 2
I'm not overly familiar for SVG, but you can always rotate elements using CSS...
rect {
transform: rotate(20deg);
}
If you don't want to use external CSS, just put it as a HTML attribute...
<rect style="transform: rotate(20deg);">
+ 1
In SVG, the idea is similar.
More info comparing the two here:
https://css-tricks.com/transforms-on-svg-elements/