How create a dark mode for your website? code example
Example: css dark mode
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}