Skip to content

Instantly share code, notes, and snippets.

@TGIFelix

TGIFelix/style.css

Last active Apr 19, 2021
Embed
What would you like to do?
CSS Dark Mode
@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment