Menu Home

row-gap

osbo.com | CSS | Properties | row-gap

The row-gap CSS property specifies spacing between rows, separating boxes in the container's block axis.

Syntax

CSS

row-gap: value;

JS

object.style.rowGap = "value";

Values

<'row-gap'> = normal | <length-percentage>
normal

Represents a value of 1em on multi-column containers and 0px in all other contexts.

<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

Initial

normal

Examples

length

normal

percentage

JS

Internal

column-gap

gap

External

World Wide Web Consortium (W3C)