There is such a svg in the code on the background, and it stretches to the whole page as expected, but the path inside it for some reason does not fill the entire screen:
html, body { width: 100%; height: 100%; margin: 0; padding: 0; } .bg { width: 100%; height: 100%; } .bg svg { width: 100%; height: 100%; } <div class="bg"> <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 500 330"> <path class="x-1" opacity="0.2" fill="#4C72A0" d="M0,0c300-1.128,155.667,307.332,500,330H0V0z"/> </svg> </div> How to make the path inside the svg for the entire width and height of the screen?