| Class | Description | |
|---|---|---|
alignSets vertical-align via --align. E.g. middle, baseline. CSS Rules Usage
The .align
class is flagged as a value-driven selector.
The variable --align 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
| .align | Sets vertical-align via --align. E.g. middle, baseline. |
align-baselineAligns the baseline of the element with the baseline of its parent. 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 | .align-baseline | Aligns the baseline of the element with the baseline of its parent. |
align-topAligns the top of the element and its descendants with the top of the entire line. 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 | .align-top | Aligns the top of the element and its descendants with the top of the entire line. |
align-middleAligns the middle of the element with the baseline plus half the x-height of the parent. 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 | .align-middle | Aligns the middle of the element with the baseline plus half the x-height of the parent. |
align-bottomAligns the bottom of the element and its descendants with the bottom of the entire line. 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 | .align-bottom | Aligns the bottom of the element and its descendants with the bottom of the entire line. |
align-text-topAligns the top of the element with the top of the parent element's font. 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 | .align-text-top | Aligns the top of the element with the top of the parent element's font. |
align-text-bottomAligns the bottom of the element with the bottom of the parent element's font. 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 | .align-text-bottom | Aligns the bottom of the element with the bottom of the parent element's font. |
align-subAligns the baseline of the element with the subscript-baseline of its parent. 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 | .align-sub | Aligns the baseline of the element with the subscript-baseline of its parent. |
align-superAligns the baseline of the element with the superscript-baseline of its parent. 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 | .align-super | Aligns the baseline of the element with the superscript-baseline of its parent. |