linear gradient over background image css code example
Example 1: gradient over image css
#linear-gradient-over-image{
background-image: linear-gradient(to bottom, black, white),
url('images/background.jpg');
background-size: cover;
}
Example 2: linear gradient css background image
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
Example 3: background-image linear-gradient url
body {
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), linear-gradient(red, yellow);
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -webkit-gradient(linear, left top, left bottom, from(red), to(yellow));
background-image: url("http://www.skrenta.com/images/stackoverflow.jpg"), -moz-linear-gradient(top, red, yellow);
}