Length 11:23Use this instead of media queries or container queries
About this video
The video shows how to build layouts that respond to the width of a child element using flexbox and grid patterns, as an alternative to media queries and container queries. It is aimed at people who already write CSS and want more control over responsive layout.
What you’ll learn
- Build a layout that changes based on the width of a child element
- Compare a flexbox and a grid version of the same responsive pattern
- Reach for intrinsic layout patterns where media and container queries fall short










