add black layer on image css code example
Example: 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');
}
.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');
}