percentage works on height the same way as it does on width? when i try to put 100% on the height on a <svg> it just looks like about 400px, there is something i am missing out? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

percentage works on height the same way as it does on width? when i try to put 100% on the height on a <svg> it just looks like about 400px, there is something i am missing out?

percentaje seems only to work fine on widths

29th Aug 2016, 4:16 AM
ViLXDRYAD
ViLXDRYAD - avatar
2 Answers
+ 1
try to change the body height first
30th Aug 2016, 2:12 AM
Gerardo Mérida
Gerardo Mérida - avatar
0
I used a pct instead of px on height and it worked fine !!!
3rd Oct 2016, 10:24 PM
Luis A. Black Silva