gap

This property sets the gaps between rows and columns.

Initial value as each of the properties of the shorthand:row-gap: normalcolumn-gap: normal
Applies to multi-column elements, flex containers, grid containers

Syntax

  
gap: 9px;
  

Values

The width of the gap separating the grid lines.
The width of the gap separating the grid lines, relative to the dimension of the element.

Browser support

flex_context84846370
grid_context6616615310.1
multicol_context66166153

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

×