1
blog/flashbang.md at main · npmaile/blog · GitHub
source link: https://github.com/npmaile/blog/blob/main/posts/flashbang.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
23 lines (18 sloc) 458 Bytes
Please Don't Flashbangme
I use darkmode. I'm not going to defend this choice.
Browsers and operating systems understand this.
You can make simple black and white websites understand this as well
body {
background-color: black;
color: white;
}
@media screen and (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
}
I stole this code, and you can steal it too
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK