css darkmode
@media (prefers-color-scheme: dark) {
}
css darkmode
@media (prefers-color-scheme: dark) {
}
dark mode css
body {
background-color: black;
color: white;
}
@media screen and (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
}
css dark mode
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
}
}
Night / dark mode css
@media (prefers-color-scheme: dark) { ... }
css get dark mode
<!DOCTYPE html>
<html>
<head>
<style>
body.dark-mode {
background-color: black;
color: white;
}
@media screen and (prefers-color-scheme: light) {
body.dark-mode {
background-color: unset;
color: unset;
}
}
</style>
</head>
<body class="dark-mode">
<p>Text</p>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us