responsive design
Building layouts that adapt to the space available, from small phones to wide desktop screens.
In more detail
Classic responsive design reacts to the viewport with media queries. Component-driven design goes further, letting each component react to its own container.
Related terms
- media query — A CSS rule, written @media, that applies styles only when a condition about the device or user settings is true.
- container query — A CSS rule, written with @container, that styles a component based on the size of its container instead of the whole viewport.
- responsive breakpoint — A screen width at which a layout or font size changes, set with a CSS media query.
Taught in
- Advanced CSS Grid: Named Areas, minmax And auto-fit — Frontend Architecture & Web Platform
- Container Queries: Component-Driven Responsive Design — Frontend Architecture & Web Platform