apolineaire
5/28/2018 - 5:43 AM

Apply linear-background to image

Linear-background to an image or a background-image

/*linear-gradient to background-image url*/
.elementwithbackground:before {
  content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
  background: linear-gradient(to right, #EAEAEA, #DBDBDB, #F2F2F2, #ADA996); 
	opacity: 0.1; /* option */
}