Answers for "how to apply bacground 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

Browse Popular Code Answers by Language