revision:
- specifies the gap between the rows in a flexbox or grid layout.
The row-gap property was formerly known as grid-row-gap.
Property values:
length : a specified length or % that will set the gap between the rows
normal : default value. Specifies a normal gap between the rows
initial : sets this property to its default value.
inherit : inherits this property from its parent element.
example: row-gap property
<div id="mother">
<div id="grid-container">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<div>10</div>
</div>
</div>
<style>
div#mother {border: 0.1vw solid black; padding: 0.3vw; margin: 0.3vw;}
#grid-container {border: 0.2vw solid black; background-color: mintcream; display: grid;
grid-template-columns: 1fr 1fr 1fr; row-gap: 3vw;}
#grid-container > div {background-color: yellow;}
</style>