I created 2 svg circle. Both have the same width height and are in same x and y axis measurements. Why they don't overlap?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I created 2 svg circle. Both have the same width height and are in same x and y axis measurements. Why they don't overlap??

https://code.sololearn.com/WUziT7b12CGT/?ref=app

16th Jun 2017, 6:05 AM
👍Challenge the W . O . L . F👈
👍Challenge the W . O . L . F👈 - avatar
2 Answers
+ 1
HTML elements all take up rectangular space. You set both SVG elements to have a width of 2000 and a height of 2000. Without any further styling these elements will follow normal document object model flow. With the width being greater than the available page width the 2nd SVG is pushed below or under the first.
16th Jun 2017, 6:21 AM
ChaoticDawg
ChaoticDawg - avatar
0
set the position of svg to absolute...
16th Jun 2017, 6:30 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar