+ 3

SVG relative information in path element

If I use percentages with the circle or rectangle element, everything works fine, but if I try to do the same with the path element it disappears... How do I bypass it?

19th May 2020, 7:07 PM
Lena
Lena - avatar
2 Answers
+ 2
You have to use viewBox to bypass this.
25th May 2020, 2:38 PM
Kunal Ukey
Kunal Ukey - avatar
+ 1
I do so at the moment, but I hoped that there is another way or at least an explenation why there is that difference
27th May 2020, 3:17 PM
Lena
Lena - avatar