Menu
The row-gap
property designates the gap between rows in a grid.
This property was formerly known as grid-row-gap
.
div.gap {
display: grid;
row-gap: 25px;
}
length
Designates a length or percentage that sets the gap between rows.
normal
Default value. Designates a normal gap between rows.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of row-gap
? Submit a codepen.io demo and we'll showcase it here ↴