描述
适用于:网格元素
CSS 属性 grid-row-start 可通过赋值基线位置,跨度span,auto来定义网格元素的行起始位置。
语法
/* Keyword value */ grid-row-start: auto; /* <custom-ident> values */ grid-row-start: somegridarea; /* <integer> + <custom-ident> values */ grid-row-start: 2; grid-row-start: somegridarea 4; /* span + <integer> + <custom-ident> values */ grid-row-start: span 3; grid-row-start: span somegridarea; grid-row-start: 5 somegridarea span; /* Global values */ grid-row-start: inherit; grid-row-start: initial; grid-row-start: unset;