Stop Treating CSS Container Queries Like Traditional Media Queries
Sep 16, 2026
To be completely honest with you, I missed the news when CSS Container Queries first shipped. And when I finally heard about it, my very first thought was, “Why exactly do I need this when media queries already exist?”
I’m not proud of that reaction, knowing what I know now, but it was comforting to know that I wasn’t alone. In fact, there are legions of us out there.
What baffles me is that container queries aren’t a new feature, as it currently sits at around 94% browser support. And yet, very few people are actually using it. According to the State of CSS survey, 86% of developers are aware of container queries, but only 41.4% actually use them. Surveys can be biased and not completely representative of our entire field, but this one is certainly the best indicator we’ve got.
Keep reading
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
This article is a sponsored by TestMu AI Pass the string "10-03-2024" to new Date(), and the answer is browser-dependent. Chrome, Edge, and Firefox all return 3rd October 2024 with no warning. Safari returns Invalid Date. A user in Berlin w
As the year draws to a close, many of us are busy meeting deadlines, wrapping up projects, or getting ready for the holiday season. So why not take a moment amid the end-of-year hustle to set the mood for December? Our new collection of des
AI is changing how we design and build, and it isn’t slowing down. On December 1, 2026, SmashingConf is hosting the AI 2027 Conference, a live online half day event to take stock of where AI stands today, what we can expect in 2027, and whe
This article is a sponsored by Level Access Lately, I’ve been thinking and writing a lot about what AI is doing to product development, and what that means for accessibility. The thing that has my wheels turning is a finding from Level Acce
A product team at a large health insurer wants to add AI that writes the full written determination for benefits appeals specialists. The technology works as specified. However, the specialists stop using it, and the ones who keep using it