modo oscuro CSS
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
Cookie_Wookie_7
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
@media (prefers-color-scheme: dark) {
}
<meta name="color-scheme" content="dark light">
dark {
background-color: black;
color: white;
}
@media (prefers-color-scheme: dark) { ... }