[{"id":390654,"date":"2025-12-12T07:38:18","date_gmt":"2025-12-12T14:38:18","guid":{"rendered":"https:\/\/css-tricks.com\/?p=390654"},"modified":"2025-12-05T14:26:27","modified_gmt":"2025-12-05T21:26:27","slug":"what-else-could-container-queries-query","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/what-else-could-container-queries-query\/","title":{"rendered":"What Else Could Container Queries… Query?"},"content":{"rendered":"\n

I\u2019ll admit, when container queries first shipped back in 2022, I didn\u2019t really pay attention. I mean, why container size queries<\/a> when we already have media queries<\/a>? Why container style queries<\/a> when custom properties inherit anyway (they don\u2019t work with standard properties\u2026 yet<\/em>)? Their use cases seemed like edge cases to me, enabling us to do things that we could already do but in a different way.<\/p>\n\n\n\n\n\n\n\n

Here’s a container size queries demo by Kevin Powell<\/a>. As a note, all major browsers support size queries in the following demo, but other demos in this article may require the latest Chrome.<\/p>\n\n\n\n