Answers for "css dark mode"

CSS
5

css darkmode

@media (prefers-color-scheme: dark) {

}
Posted by: Guest on August-15-2020
3

dark mode css

body {
  background-color: black;
  color: white;
}

@media screen and (prefers-color-scheme: light) {
  body {
    background-color: white;
    color: black;
  }
}
Posted by: Guest on March-18-2020
1

css dark mode

@media (prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }
}
Posted by: Guest on September-25-2020
0

Night / dark mode css

@media (prefers-color-scheme: dark) { ... }
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language