Responsive Images: srcset, picture, and AVIF
Responsive images solve three independent problems — resolution, format, and art direction. A decision tree for which HTML primitive to apply when, with LCP coordination.

Responsive images solve three independent problems — resolution, format, and art direction. A decision tree for which HTML primitive to apply when, with LCP coordination.

Viewport media queries cannot tell a reusable component how wide its slot is. Size container queries (Baseline 2023) finally let components answer that question themselves.

Stop choosing breakpoints by device class. As a rule of thumb, a content-rich site can work with two to four breakpoints, not six to eight. Range syntax and em units complete the move.

Replace step-ladder font-size breakpoints with one clamp() per type role. The staircase becomes a curve, anchored to explicit size and measure targets and paired with variable fonts.

Responsive tables are not one problem with one answer. Pick by reading purpose — five patterns map cleanly to five tasks, and the tabular ones keep table semantics intact.

Responsive web design runs on container queries, dynamic viewport units, fluid clamp() type, and a few accessibility floors. Here is the modern stack as one mental model.