description & Usage
To determine the distance between rows, we use the grid-row-gap property.
Informations
| # | Description |
|---|---|
| Default Value | 0 |
| Inherited | no |
| Animatable | yes |
| Version | CSS Grid Layout Module Level 1 |
| JavaScript syntax | object.style.gridRowGap="50px" |
Browser compatibility and Support
| # | Chrome | Edge | Firefox | Safari | Opera |
|---|---|---|---|---|---|
| grid-row-gap |
Syntax
Values
| Values | Description |
|---|---|
| length | Determines the distance in centimeters, pixels, etc. |