Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css background darker

body{
 background:
        /* top, transparent black, faked with gradient */ 
        linear-gradient(
          rgba(0, 0, 0, 0.7), 
          rgba(0, 0, 0, 0.7)
        ),
        /* bottom, image */
        url(https://images.unsplash.com/photo-1614030424754-24d0eebd46b2);
    }
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #background #darker
ADD COMMENT
Topic
Name
6+5 =