+ 6

Rotating picture

how I can rotating picture svg

11th Jul 2018, 5:55 AM
Black Man
Black Man - avatar
2 Answers
+ 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);">
11th Jul 2018, 6:38 AM
James
James - avatar
+ 1
In SVG, the idea is similar. More info comparing the two here: https://css-tricks.com/transforms-on-svg-elements/
11th Jul 2018, 10:27 AM
Janning⭐
Janning⭐ - avatar