grid css gap code example Example: css grid-gap options /* Rows | Columns */ grid-gap: 20px 10px; /* Both */ grid-gap: 20px;