Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Why do you need to specify widtg and height attributes in both svg and rect elements?
2 odpowiedzi
+ 4
Because <rect> is a shape inside the <svg> container, and you don't necessarly want to set it as same size than its parent ^^
0
thanks