css grid-columns 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
columns
##UK['kɒləm] US['kɒləm] n. Column; column; column (plural noun of column); (of the fleet) columncss grid-columns propertysyntax
Function: Specifies the width of each column in the grid.
Syntax: grid-columns: length|%|none|inherit;
Description: length Reference to the grid containing the block . % Reference to the width 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-columns.
css grid-columns propertyexample
//在 div 元素中部添加一个网格行,距右侧 200 像素处添加另一个,在余下空间的中间再添加一个: div{grid-columns:50% * * 200px;}