Taking advice from here, I’ve attempted to layer a background image with a gradient on the top. Unfortunately, I’m not getting either the background image nor the gradient to appear on the <div class="row presch pad">
.
Code:
.presch {
background-image:
linear-gradient(to right, rgba(30,87,153,0) 0%,rgba(0,0,0,1) 100%),
url(../images/backgrounds/preschool-bkgrd-desktop.jpg) no repeat;
background-image:
-moz-linear-gradient(left, rgba(30,87,153,0) 0%, rgba(0,0,0,1) 100%),
url(../images/backgrounds/preschool-bkgrd-desktop.jpg) no repeat;
background-image:
-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(30,87,153,0)), color-stop(100%,rgba(0,0,0,1))),
url(../images/backgrounds/preschool-bkgrd-desktop.jpg) no repeat;
background-image:
-o-linear-gradient(left, rgba(30,87,153,0) 0%,rgba(0,0,0,1) 100%),
url(../images/backgrounds/preschool-bkgrd-desktop.jpg) no repeat;
background-image:
-ms-linear-gradient(left, rgba(30,87,153,0) 0%,rgba(0,0,0,1) 100%),
url(../images/backgrounds/preschool-bkgrd-desktop.jpg) no repeat;
}
Is the code I’m using not recognizable by the browsers? Looking at Firebug, none of the code being implemented is displaying. Just the ‘.presch {}’.