css grid-rows property
Translation results:
grid
UK[grɪd] US[ɡrɪd]
n. Grid, non-substantive; coordinate grid on the map; (transmission lines, natural gas Pipes, etc.) system network
Plural: grids
rows
UK[rəʊz] US[roʊz]
n. row; [computer] row (plural noun of row); rowing; noisy
v. rowing (third person singular of row); (using a boat) rowing; rowing with an oar; acting as a rower
css grid-rows propertysyntax
Function: Specifies the height of each row in the grid.
Syntax: grid-rows: length|%|none|inherit;
Description: length refers to the grid containing blocks . % Reference to the height of the containing block.
Note: Using a grid system can be of tremendous value to print designers. The same changes are now being applied to online content. Grid properties provide the ability to adjust the size and position of titles, text, and images in a scalable grid. No browsers currently support grid-rows.
css grid-rows propertyexample
定义 100 像素的标题行,并按需添加多个额外的行,高度交替为 30 和 60 像素: div{grid-rows:100px (30px 60px);}