Answers for "black layer over png image 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

Browse Popular Code Answers by Language