Responsive Components: Present & Future
summary
Explains how to make components respond to their own size using concrete patterns: layout-only tricks with flex-wrap + flex-basis, the holy albatross calc technique, and grid repeat(minmax(200px, 1fr)) for automatic columns; JS using ResizeObserver to toggle a class at 480px so any CSS property can change; mentions clamp is viewport-based only; describes container queries with container-type: inline-size and container-name, why loops broke earlier proposals, credits Miriam Suzanne, notes Chrome Canary support and the cq-fill polyfill by Jonathan Neal.
AI-written summary · about
chapters (5)
related talks
26mResponsive Components: Present & Future
29mBuilding responsive CSS components
40mFuture-Proofing Responsive Web Design in 2023
35mModern CSS Replacements for Better Responsive Code
17mThe New Responsive: Web Design in a Component-Driven World
48mSmart Layout Patterns with Modern CSS
52mModern CSS Layout
22mThe next step towards a truly modular CSS
