Answers for "use background color and image together in css"

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
0

set background image and color both

background: green url(images/shadow.gif) right no-repeat;
Posted by: Guest on April-07-2021

Code answers related to "use background color and image together in css"

Browse Popular Code Answers by Language