beginnertermCSSCSS / Layout / Gap
BeginnerNot yet reviewed

Gap

The gap property sets the space between items in flex and grid layouts without extra margins.

Definition

The gap property sets the space between items in flex and grid layouts without extra margins.

Use case

A card list with 24px between cards uses one gap value to control all the spacing.

In Figma

Spacing between items in auto layout

Related terms

Resources

No resources yet. Suggest one.

Suggest a change