Layout grid, explained
Common web grids use 12 columns on desktop, since 12 divides neatly into halves, thirds and quarters. Phones often use 4 columns or a single stack.
The gutter is the gap between columns, and the margin is the space at the page edge. Setting these once removes many small decisions later.
A design grid in Figma and the CSS grid in code are related but not the same. CSS grid and flexbox are how the layout is built, and the build does not have to copy every design column.
A grid is there to help, not to trap you. Breaking it on purpose, for a large image or a wide heading, can add interest when the rest of the page is orderly.



