Skip to content

Instantly share code, notes, and snippets.

@rayriffy rayriffy/index.html Secret
Created Jun 25, 2019

Embed
What would you like to do?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Dark Mode Demo</title>
<style>
html {
background-color: rgb(245, 245, 245);
}
.title {
color: rgb(0, 0, 0);
}
@media (prefers-color-scheme: dark) {
html {
background-color: rgb(51, 51, 51);
}
.title {
color: rgb(255, 255, 255);
}
}
</style>
</head>
<body>
<h2 class="title">ริฟฟี่พ่อทุกสถาบัน</h2>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.