Answers for "how to put black layer on image in css"

CSS
0

add black layer on image css

.card-overlay {
  background:
  linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)
  ),
  url('https://www.placecage.com/c/460/300');
}
Posted by: Guest on April-22-2021

Code answers related to "how to put black layer on image in css"

Browse Popular Code Answers by Language