User1535942433 posted
Hi Marcoda21,
I suggest you could try to use background-size:cover.It will resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges.
More details ,you could refer to below code:
<style>
html, body {
height: 100%;
}
body {
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('image/image1.jpg');
background-repeat: no-repeat;
height:100%;
background-size: cover;
}
</style>
Result:

Best regards,
Yijing Sun