row-gap (grid-row-gap)
The row-gap CSS property sets the size of the gap (gutter) between an element's grid rows.
/* <length> values */
row-gap: 20px;
row-gap: 1em;
row-gap: 3vmin;
row-gap: 0.5cm;
/* <percentage> value */
row-gap: 10%;
/* Global values */
row-gap: inherit;
row-gap: initial;
row-gap: unset;Source: https://developer.mozilla.org/en-US/docs/Web/CSS/row-gap
column-gap (grid-column-gap)
The column-gap CSS property sets the size of the gap (gutter) between an element's columns.
/* Keyword value */
column-gap: normal;
/* <length> values */
column-gap: 3px;
column-gap: 2.5em;
/* <percentage> value */
column-gap: 3%;
/* Global values */
column-gap: inherit;
column-gap: initial;
column-gap: unset;Source: https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap
gap (grid-gap)
The gap CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for row-gapand column-gap.
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/gap
Important: these properties apply only to the grid container.