Auto-Switching a Website to Dark ModeYou can easily tell your site to use darker colors when a visitor is using a dark theme by using CSS media queries.
CSS OutlinesWhat makes Outline different from Border.
IE7 disappearing float bug (Obsolete)
In IE7, the exact wrong combination of floats and italics can make a floated element disappear.
Mobile Web Layouts vs. the ViewportMobile web browsers now use a larger virtual screen to provide an imitation desktop experience - even if you’ve provided a better one tailored for small screens.
Pure CSS ButtonsAs part of a minor site optimizing kick, I replaced the validation labels with something smaller, less obtrusive, and directly on the page. I tried to duplicate the look of the classic antipixel-style buttons in CSS.
Readable Email and Web PagesIt’s 2024. If you’re still designing websites or email like you would design an 8.5x11" promotional hand-out on a sheet of paper, you really haven’t been paying attention to how people use the internet over the past decade.
Using Unicode Half-Stars Symbols in RatingsFilled and outlined stars have been in Unicode forever. Half-stars have been available since Unicode 11 (2018), but font support is still spotty. Fortunately you can embed a font on your website that does support the symbols and rate something four and a half stars.