0

Why we used width and height in svg as two attributes?

Is it necessary to use it?

4th Jun 2017, 3:31 AM
Er Vikash Barnwal
Er Vikash Barnwal - avatar
3 ответов
+ 2
yes, to set svg size on web.
4th Jun 2017, 3:52 AM
Setiawan Next
Setiawan Next - avatar
+ 2
think svg like frame for your drawing. if svg width is less than your drawing, the draw will be croped.
4th Jun 2017, 7:58 AM
Setiawan Next
Setiawan Next - avatar
0
But I don't see any changes on diagram when changes its attributes.
4th Jun 2017, 7:01 AM
Er Vikash Barnwal
Er Vikash Barnwal - avatar