by Gene Crawford | May 14, 2025
Let’s play a game. I’ll hide a button using different techniques in HTML and CSS, and you have to guess whether it’s still focusable.
by Gene Crawford | May 13, 2025
Look at this CSS and take a guess what color our text will be. No tricks, this is the only relevant code:
by Gene Crawford | May 12, 2025
As developers, we’re most used to Cache-Control as the preferred way of instructing caches (usually browsers) on how they should store responses (if at all), and what to do once their cache lifetime is up.
by Gene Crawford | May 9, 2025
If this article helps just a single developer avoid an unnecessary Javascript dependency, I’ll be happy. Native HTML can handle plenty of features that people typically jump straight to JS for (or otherwise over-complicate).
by Gene Crawford | May 8, 2025
Drawing separator lines between various sections of a webpage is a common design technique, which can help to structure the content and make it more readable, as well as more aesthetically pleasing. As we’ll see in this article, there are techniques you can use today...