display grid gap code example
Example 1: css grid spacing
.grid-container {
gap: 8px;
}
Example 2: css grid-gap options
/* Rows | Columns */
grid-gap: 20px 10px;
/* Both */
grid-gap: 20px;
.grid-container {
gap: 8px;
}
/* Rows | Columns */
grid-gap: 20px 10px;
/* Both */
grid-gap: 20px;