Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
4
Container queries expand the universe of designs that can be implemented, giving us whole new superpowers. Now that container queries are broadly available, I think it’s time we start exploring this potential! In this post, I’ll share the “killer pattern” I can’t stop using in my work, and explore what’s possible with this new capability.
2 days ago

More from Josh Comeau's blog

Next-level frosted glass with backdrop-filter

Glassy headers have become a core part of the “slick startup” UI toolkit, but they’re all missing that final 10% that really makes it shine. In this tutorial, you’ll learn how to create the most realistic lush frosted glass anywhere on the internet.

a month ago 30 votes
A Framework for Evaluating Browser Support

Lots of exciting new features have been landing in CSS recently, and it can be tough trying to figure out if they’re safe to use or not. We might know that a feature is available for 92% of users, but is that sufficient? Where do we draw the line? In this blog post, I’ll share the framework I use for deciding whether or not to use a modern CSS feature

2 months ago 28 votes
A Friendly Introduction to Container Queries

It’s been a couple of years since container queries started landing in browsers… so why isn’t anyone using them? It turns out that container queries are kinda tricky; they’re not as straightforward as media queries. In this tutorial, we’ll break it all down and make sense of them, so that you can start using them in your work.

2 months ago 24 votes
How I Built My Blog

I recently launched a brand new version of this blog, and in this post, I share how it’s built! We’ll examine the tech stack and see how all of the pieces fit together, as well as dig into some of the details to see how they work.

4 months ago 11 votes

More in programming

Would the internet exist today if the printing press didn’t come before it?

The breakthroughs of the web are often compared to the printing press. But could the former exist without the latter? The post Would the internet exist today if the printing press didn’t come before it? appeared first on The History of the Web.

15 hours ago 3 votes
Why I Won’t Use JSDOM (article)

Explore how JSDOM's browser simulation works, and learn front-end testing approaches using Vitest Browser Mode for direct browser testing and native APIs

7 hours ago 2 votes
A Software Engineer's Guide to Reading Research Papers

My personal framework for reading research papers

16 hours ago 1 votes
The Inverted Reactivity Model of React

A quick take on the 'inverted' reactivity model of React compared to vanilla JS, Vue, and other frameworks.

2 days ago 5 votes