HTML Dark Mode 2023-04-11 I wrote an article back in 2021 called The Lazy Developer’s Dark Mode where I explained how to implement a very basic “dark mode” by using the prefers-color-scheme CSS attribute. This stills works perfectly fine, and in fact there is a cleaner variation of this created by jacksonchen666: These 3 Lines of CSS Will Give You Dark Mode for Free. But today I wanted to show how to add dark mode functionality to a website without any CSS at all. <meta name="color-sche...