Hey so I have this simple div
<div class="container">
<h1>This is content</h1>
<div>
Then I have some CSS
.container {
width: 300px;
height: 300px;
background-image: url('some_image');
}
My problem is that if the background image is very high quality it will take a second or two to load.
Is there a way for me to add a gradient to that div as well, so that for that second that the image doesn't load, the gradient shows? Almost like a gradient below the background image.