CSS3 grid-rows property
Example
Define a header row of 100 pixels and add a number of additional rows with heights of 30 and 60 pixels as needed:
div
{
grid-rows:100px (30px 60px);
}
Browser support





Currently no major browser supports the grid-rows property.
Property definition and usage
The grid-rows property specifies the height of each row in a grid.
Tip: Using a grid system is of great value to print designers. Now the same changes have been applied to online content. Grid properties provide the ability to adjust the size and position of headings, text, and images within a flexible grid.
| Default value: | none |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.gridRows="100px (30px 60px)" |
Syntax
grid-rows:
length
|
%
|none|inherit;
| Value | Description |
|---|---|
| length | Refers to the grid of the containing block. |
| % | Refers to the height of the containing block. |
| none | |
| inherit |