column-gap

The column-gap CSS property sets the size of the gap (gutter) between an element's columns.

Example

Initial value normal
Applies to multi-column elements, flex containers, grid containers

Syntax

  
column-gap: 1em;
  

Values

The browser's default spacing is used between columns. For multi-column layout this is specified as 1em. For all other layout types it is 0.
The size of the gap between columns, defined as a . The property's value must be non-negative.
The size of the gap between columns, defined as a . The property's value must be non-negative.

Browser support

flex_context84846370
grid_context6616615312.1
multicol_context501252103710

We use cookies to improve your experience. Learn more in our Privacy policy.

×