why width and height in svg and how they can be used??? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

why width and height in svg and how they can be used???

in rectangle method <svg width=" 2000" height="2000"> < rect width= " 200 height = " 200" x= "20" y =" 20" fill = "green"/> </svg>

30th Oct 2018, 11:19 AM
Kushi Karthik
2 ответов
+ 2
The width and height attributes on the SVG element define the size of the container for rect. https://www.w3schools.com/html/html5_svg.asp
30th Oct 2018, 12:03 PM
Janning⭐
Janning⭐ - avatar
+ 1
thanks
30th Oct 2018, 12:24 PM
Kushi Karthik