| Class | Description | |
|---|---|---|
grid-rowsSets grid-template-rows with N equal rows via --grid-rows. CSS Rules Usage
The .grid-rows
class is flagged as a value-driven selector.
The variable --grid-rows 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
| .grid-rows | Sets grid-template-rows with N equal rows via --grid-rows. |
[grid-rows]Defines grid row tracks using raw --grid-rows. Useful for custom grid templates. CSS Rules Usage
The .[grid-rows]
class is flagged as a value-driven selector.
The variable --grid-rows 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
| .[grid-rows] | Defines grid row tracks using raw --grid-rows. Useful for custom grid templates. |
grid-rows-noneRemoves explicit grid row tracks by setting grid-template-rows to none. 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 | .grid-rows-none | Removes explicit grid row tracks by setting grid-template-rows to none. |
grid-rows-subgridSets grid-template-rows to subgrid, inheriting row tracks from the parent grid. 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 | .grid-rows-subgrid | Sets grid-template-rows to subgrid, inheriting row tracks from the parent grid. |