0

Got puzzled!!! Anyone who can help me??👇👇

It's kinda weird! The width and the height of SVG are defined as 2000 & 2000, but the width and height of rectangle are defined as 300 and 100!! Now I'm experiencing some difficulties😓😓😓😓

11th Jul 2019, 3:20 AM
Seyed Amirhossein Borhani
5 Answers
+ 1
The answer is obvious now... The size of svg should be bigger than anything being contained by it...
13th Jul 2019, 7:18 PM
Seyed Amirhossein Borhani
0
please post the code so that we can see what you are talking about
11th Jul 2019, 8:00 AM
Jason Kennedy
0
Here bro👇👇 <svg width="2000" height="2000"> <rect width="300" height="100" x="20" y="20" fill="green" /> </svg>
11th Jul 2019, 12:47 PM
Seyed Amirhossein Borhani
0
The address of the code👉👉HTML, HTML5 section,lesson12
11th Jul 2019, 12:48 PM
Seyed Amirhossein Borhani
0
And thank you for answering😒😒😒😒
13th Jul 2019, 7:16 PM
Seyed Amirhossein Borhani