I'm trying to have an image as my background. However, with super large resolutions available, it is just white space beyond the image. I don't want repeat. I tried this but all it shows is the image. I would like for the gradient (or the green if the gradient is unsupported) to extend to the right and below if the boundary of the image is reached. This still shows just the image.
body {
background-color: darkgreen; /* For browsers that do not support gradients */
background-image: linear-gradient(-90deg, white, darkgreen); /* Standard syntax (must be last) */
background: url("images/bg1.png");
width: auto;
height: auto;
font-family: Arial, Helvetica, sans-serif;
}