Building a grid

Gaps

Gaps are the space between tracks. They never appear at the outer edges of the grid.

One gap for everything #

By default, Same gap for rows and columns is ticked and there is a single Gap (px) control. Drag the slider or type a value from 0 to 100.

gap: 16px;

Separate column and row gaps #

Untick Same gap for rows and columns to show separate Column gap and Row gap controls. GridFlow then writes the two-value shorthand, with the row gap first, as CSS expects:

/* 24px between rows, 8px between columns */
gap: 24px 8px;

Ticking the box again sets the row gap to match the column gap.

No gap #

When the gap is 0, GridFlow leaves the gap line out entirely, because 0 is already the default.

Seeing gaps in the preview #

Gaps show as diagonal hatching between cells, so you can tell gap space from track space at a glance.