Rotating picture | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 6

Rotating picture

how I can rotating picture svg

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