Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

How do I make my background color darker in CSS

body {
    display: grid;
    place-items: center;
    height: 100vh;
}
div {
    width: 50vw;
    height: 50vh;
    background: linear-gradient(to bottom right, #55566a, #282834);
    border-radius: 10px;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #background #color #darker #CSS
ADD COMMENT
Topic
Name
7+7 =