dark mode css html code example
Example 1: css darkmode
@media (prefers-color-scheme: dark) {
}
Example 2: css dark mode
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
@media (prefers-color-scheme: dark) {
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}