Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 506 Bytes

grid-gap.md

File metadata and controls

22 lines (17 loc) · 506 Bytes

gap (grid-gap)

The gap CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for row-gap and column-gap.

Values

<length>
Is the width of the gutter separating the grid lines.
<percentage>
Is the width of the gutter separating the grid lines, relative to the dimension of the element.

Examples

gap="1em"
gap="3vmin"
gap="0.5cm"
gap="100%"
gap="calc(20px + 10%) calc(10% - 5px)"