0

Is there a dynamic size in HTML5 svg shaping

I am new to HTML. In the html-basic course there was the following example <svg width="2000" height="2000"> <rect width="300" height="100" x="20" y="20" fill="green" /> </svg> since svg is made to be scalable, can I also use a dynamic size like 5%? Can I use a previous created variable as factor? Does the svg shaping only works with whole numbers or would width="0.5" also be possible?

20th Feb 2017, 12:12 AM
nyx215
nyx215 - avatar
2 ответов
0
Thanks, I will check it out as soon as I got some more time
20th Feb 2017, 12:41 PM
nyx215
nyx215 - avatar