Answers for "css add background color over image"

CSS
0

css background color over image

.tinted-image {
  background-image: 
    /* top, transparent red */
    linear-gradient(
      rgba(255, 0, 0, 0.45), 
      rgba(255, 0, 0, 0.45)
    ),
    /* your image */
    url(image.jpg);
}
Posted by: Guest on April-22-2021

Code answers related to "css add background color over image"

Browse Popular Code Answers by Language