row-gap property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS row-gap property represents the gap between two adjacent rows. We take an example of a grid that contains three grid items.
Syntax
row-gap : normal | length
Property values
length
-
length value adds respective gap between the rows. The following demo represents 30px gap between the rows.
- Try it
row-gap: 30px;
Applicable to
It applies to multi-column containers, flex containers, grid containers.