Reading the generated CSS
grid-template-columns defines the explicit column tracks. grid-template-rows does the same for rows. gap puts equal space between tracks in both directions. Children are placed automatically, left to right then top to bottom, until the cells are filled.
Example: 4 columns and 2 rows with template repeat(4, 1fr) and a 16px gap gives eight equal cells in two equal-height rows. A template like 200px repeat(3, 1fr) is not accepted, because repeat() has to be the whole value; write 200px 1fr 1fr 1fr instead. The error message tells you how many tracks the Columns field expects.
- Fixed sidebar: 240px 1fr gives a sidebar plus fluid content.
- Equal cards: repeat(3, 1fr) with a 16px gap.
- Never narrower than 200px: minmax(200px, 1fr) per column.