-
-
Save kitek/be45177d24ac3bd509381158a9973dd2 to your computer and use it in GitHub Desktop.
index.html
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
<html> | |
<head> | |
<style> | |
body { | |
background-color: #fff; | |
font-family: Arial, sans-serif; | |
} | |
h1 { | |
color: #000; | |
font-size: 2em; | |
} | |
@media (prefers-color-scheme: dark) { | |
body { | |
background-color: black; | |
color: white; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment