I tried to erase the width and height in svg while using rect with height and with what's the difference | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

I tried to erase the width and height in svg while using rect with height and with what's the difference

13th Aug 2016, 12:43 PM
jashim jarvis n. sharief
jashim jarvis n. sharief - avatar
2 ответов
0
if you don't fill any of the value properly your svg won't take proper effect as it the svg tag is like describing that i need some space with these height and width and rect value will say that in my svg space i need my rectangle to be of these height and width and style
18th Aug 2016, 10:31 PM
shadow1435
0
Rectangle - x and y points to the starting position on the screen. Top left corner of rectangle is the starting point. The height and width of the rectangle declares the size of the rectangle. Height and width in svg element is the maximum height and width the rectangle can use.
6th Oct 2016, 6:10 PM
Ravi Kumar
Ravi Kumar - avatar