A responsive three-column layout
- Input
- 3 columns, 1fr each, 16px gap
- Output
- grid-template-columns: repeat(3, 1fr); gap: 16px;
Each fr takes an equal share of the space left after the gaps, so the columns stay equal at any width without a single media query.