I have a SVG background I want to use, and I can\'t figure out how to make it stretch over the whole page, let alone be a background. Could someone help?
(The W3Scho
I just figured it out. On your tag you need to:
width
and height
properties ex: width="375" height="137"
preserveAspectRatio="none"
viewBox="0 0 375 137"
In your css file on the element that contains your svg background:
background-size: 100% 100%;
The key issue for me was that my svg file didn't contain the viewbox property.