CSS is awesome: A dark/light mode switch with preference detection in 15 lines of CSS
January 26th, 2021I just love how far CSS has come in the last few years. With custom properties and media queries you can achieve so much in just a few lines of code. For example, these 15 lines make sure that users of light mode in their operating systems get a black on white document and those […]




