Chrome is experimenting with a Container Queries prototype and we'll need partners to try it when it's ready. Would you like to help? Fill out this form.
It's the best kind of design: the result of a collaboration between folks from Mozilla, Google, Oddbird, Igalia, and all of the fantastic web developers and designers who shared with us how much this feature would mean to them. We heard you. 💛
I'm beyond excited to see what you all are going to make in this new wave of Responsive Web Design!
What's a container query? It's a media query that uses the width of the parent rather than the viewport.
We don't have great docs yet. Thank you for being patient. We thought we had until December to get docs ready, but the cat is out of the bag!
https://gist.github.com/mirisuzanne/748169312f110d6246e092945673b16eThis is the Chromium bug for the feature, be sure to also read David Baron's proposal for more context.
https://bugs.chromium.org/p/chromium/issues/detail?id=1145970We'll get you better docs as soon as we can!