📜  网格列 css 代码示例

📅  最后修改于: 2022-03-11 14:47:49.753000             🧑  作者: Mango

代码示例3
/* Grid column Syntax*/

grid-column: auto;

/* with line numbers */
grid-column: 1;
grid-column: 1 / 3;
grid-column: 1 /  span 2;

/* with line names */
grid-column: main-start;
grid-column: main-start / main-end;

/* Global values */
grid-column: inherit;
grid-column: initial;
grid-column: revert;
grid-column: unset;