adding a gradient to an image background css code example
Example: gradient over image css
#linear-gradient-over-image{
background-image: linear-gradient(to bottom, black, white),
url('images/background.jpg');
background-size: cover;
}