Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #black #layer #image #css
ADD COMMENT
Topic
Name
8+4 =