grid-row-position
Summary
Specifies a row position based upon an integer location, string value, or desired row size.
css/properties/grid-row is used as short-hand for grid-row-position and grid-row-position
Overview table
- Initial value
1
- Applies to
- grid item elements
- Inherited
- No
Media
:
- Animatable
- No
Syntax
grid-row-position: auto
grid-row-position: integer
grid-row-position: span [integer] [string]
grid-row-position: string
Values
- integer
- Identifies the specified row.
- span [integer] [string]
- Places an item with contiguous space available to the <integer> value. Using the <string> value only considers lines with that name.
- auto
- Automatically places an item using the auto-placement algorithm.
- string
- Identifies the specified row.