Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

overlay color on image css

footer#site-footer{  
  position:relative;
}

footer#site-footer:before {     /* use before property (pseudo-element)  */
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
 
PREVIOUS NEXT
Tagged: #overlay #color #image #css
ADD COMMENT
Topic
Name
4+2 =