The Different Ways to Select in CSS
Temani Afif recently did this exercise and I thought I’d build off of it. Some of these are useful. Many of them are not. There’s…
Temani Afif recently did this exercise and I thought I’d build off of it. Some of these are useful. Many of them are not. There’s…
Choosing between Popover API and Dialog API is difficult because they seem to do the same job, but they don’t! After a bit lots of…
Despite what’s been a sleepy couple of weeks for new Web Platform Features, we have an issue of What’s !important that’s prrrretty jam-packed. The web…
TL;DR: We can center absolute-positioned elements in three lines of CSS. And it works on all browsers! .element { position: absolute; place-self: center; inset: 0;…
Ok, take a deep breath. We’ll have some fun understanding this vulnerability once you make sure your browser isn’t affected, using the table below. Chromium-based…
You’re surely no stranger to bookmarks. The ability to favorite, save, or “bookmark” web pages has been a staple browser feature for decades. Browsers don’t…
I got this interesting question in an SVG workshop: “What is the performance difference between an SVG loader and simply rotating an image for a…
Just before we wrapped up 2025, I saw this proposal for :near(), a pseudo-class that would match if the pointer were to go near the…
Here’s a really quick tip. You can think of Tailwind utilities as components — because you can literally make a card “component” out of Tailwind…
Confession time: I’ve read about the performance benefits of scroll-timeline(), but when I see an impressive JavaScript scrollytelling site like this one, it makes me…
Interop 2026 is formally a thing. So, you know all of those wild, new CSS features we’re always poking at but always putting under a…
This issue of What’s !important is dedicated to our friends in the UK (aka me), who are currently experiencing a very miserable 43-day rain streak.…
In the previous article, we built the classic hexagon grid. It was a responsive implementation without the use of media queries. The challenge was to…
You have an element with a configurable background color, and you’d like to calculate whether the foreground text should be light or dark. Seems easy…
Speaking of charts… When was the last time you had to use a pie chart? If you are one of those people who have to…