Created
May 3, 2019 12:52
-
-
Save tcelestino/ef4381d04614d28cdf2fcc046680b688 to your computer and use it in GitHub Desktop.
dark mode website with CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { | |
body { | |
background: black; | |
color: white; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment