| Class | Description | |
|---|---|---|
rowPlaces a grid item within rows using an arbitrary grid-row expression, such as span 2. CSS Rules Usage
The .row
class is flagged as a value-driven selector.
The variable --row is required. Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .row | Places a grid item within rows using an arbitrary grid-row expression, such as span 2. |
row-spanSets how many grid rows an item spans via --row-span. CSS Rules Usage
The .row-span
class is flagged as a value-driven selector.
The variables --row-span and --row-span are required. Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .row-span | Sets how many grid rows an item spans via --row-span. |
row-startSets the row line where a grid item begins. CSS Rules Usage
The .row-start
class is flagged as a value-driven selector.
The variable --row-start is required. Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .row-start | Sets the row line where a grid item begins. |
row-endSets the row line where a grid item ends. CSS Rules Usage
The .row-end
class is flagged as a value-driven selector.
The variable --row-end is required. Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .row-end | Sets the row line where a grid item ends. |
row-autoSets grid-row to auto, letting the grid placement algorithm decide row placement. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .row-auto | Sets grid-row to auto, letting the grid placement algorithm decide row placement. |
row-span-fullMakes a grid item span all rows. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .row-span-full | Makes a grid item span all rows. |
row-start-autoSets grid-row-start to auto, letting the grid placement algorithm decide the row start. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .row-start-auto | Sets grid-row-start to auto, letting the grid placement algorithm decide the row start. |
row-end-autoSets grid-row-end to auto, letting the grid placement algorithm decide the row end. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .row-end-auto | Sets grid-row-end to auto, letting the grid placement algorithm decide the row end. |