The CSS Podcast cover image

59: Container queries

The CSS Podcast

00:00

DevTools - Container Queries

There's a polyfill for size-based container queries. In the future, you'll also be able to query a parent's CSS styles. You could query any parent element for a custom property state and apply a set of styles based on that. The working group did resolve to make style containers the default.

Play episode from 08:08
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app