grid-column-gap

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

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

Syntax

  
column-gap: 2rem;
  

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.

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

×