CSS grid-row-gap Property


In CSS, the grid-row-gap property is used to specify the size of the gap between grid elements. By providing a value to the grid-row-gap, the user can specify the width of the gap between the rows.

Syntax

Example

Preview

Property Values

Value Description
length Any legal length value, such as px or percent. 0 is the default.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
grid-row-gap 57.0 52.0 10.0 16.0 44.0