I'm trying to make a background for body
using an image and a linear-gradient
, in loading the gradient appears for a moment, but soon is replaced only by the image, as you can see below.
body {
background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Lake_O_Hara_from_Yukness_Ledge_Alpine_Route.jpg/800px-Lake_O_Hara_from_Yukness_Ledge_Alpine_Route.jpg"),
linear-gradient(to left, rgb(0,180,0), rgb(0,180,180));
background-size: cover;
}
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Why does this happen?