If you have a website, you can add a dark mode to it with this single #CSS rule :
html{
color-scheme: light dark
}
It will automatically adapt all background elements which don't have a background color already specified in the CSS, as well as the text color, to match the theme of the device! That's super useful if you spin up a quick project and don't want to spend a long time styling it! I use it on all of my new projects since I found this!
#web #dev #webdev
🦊 helloyanis
@helloyanis@furries.club
💻 #Opensource #developer! 🦊 #Furry #Fox 🇨🇵 #French 🖼️ Profile picture by @xanthe 🤔 I can't think of any other bullet points
furries.club
🦊 helloyanis
@helloyanis@furries.club
💻 #Opensource #developer! 🦊 #Furry #Fox 🇨🇵 #French 🖼️ Profile picture by @xanthe 🤔 I can't think of any other bullet points
furries.club
@helloyanis@furries.club
·
Feb 19, 2026
15
0
5
Loading comments...