preferred color scheme css code example
Example: user preferred color scheme
@media (prefers-color-scheme: dark) {
.element {
background: black;
color: white;
}
}
@media (prefers-color-scheme: dark) {
.element {
background: black;
color: white;
}
}