Svg rectangle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Svg rectangle

Why is my second rectangle smaller even though I provided same dimensions for both the rectangles?

5th Oct 2021, 2:31 AM
Rishi - avatar
1 Answer
+ 3
SVG size limit You can solve it by adding height attribute to SVG element demo: In the meantime, here is my very first tutorial seires about SVG: Hope it helps
5th Oct 2021, 2:49 AM
Gordon - avatar