Menu Home

grid-row

osbo.com | CSS | Properties | grid-row

The grid-row CSS property is shorthand for grid-row-start and grid-row-end.

Syntax

CSS

grid-row: value;

JS

object.style.gridRow = "value";

Values

<'grid-row'> = <grid-line> [ / <grid-line> ]?
<grid-line> = auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]
auto

Automatically specified by the user agent.

<custom-ident>

Specifies any valid identifier that is not misinterpreted as a keyword.

<integer>

Specifies one or more decimal digits (0-9).

span

Specifies the number of tracks the item occupies.

Initial

auto

Examples

auto

custom-ident

integer

span

JS

Internal

grid-area

grid-column

grid-column-end

grid-column-start

grid-row-end

grid-row-start

External

World Wide Web Consortium (W3C)