Fluid layouts

A fluid layout stretches and shrinks with the screen. In the example, the same three blocks fill both the wide and the narrow window, getting narrower as space shrinks.
In this example, the blocks resize to fit. Flexible widths can help prevent horizontal scrolling, but long content or minimum widths can still cause overflow.
Fluid layouts still need limits:
- Set minimum and maximum widths so content never gets too cramped or too stretched.
- Use relative units, such as percentages, instead of fixed pixel widths.
- Use images that scale cleanly, such as SVG for icons and illustrations.