Skip to content Skip to sidebar Skip to footer

Make An Svg Fill The Entire Page Exactly

I am making a simple single-page application in plain Javascript and want to use a full-page SVG as the graphics foundation. I would have thought that putting

Solution 1:

You might need to zero out the default margin and padding in CSS like:

html, body, * { 
     margin: 0; 
     padding: 0; 
}

Post a Comment for "Make An Svg Fill The Entire Page Exactly"