Answers for "css dark light color"

CSS
0

css darken color

// Darker a color
rgba(var(--color-variable), 0.5);
Posted by: Guest on July-09-2021
0

css dark blue

.body{
  background-color:blue;
}
Posted by: Guest on March-17-2021
0

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;
}
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language