baselinewidely| Class | CSS |
|---|---|
| ta:c | text-align: center; |
| ta:e | text-align: end; |
| ta:j | text-align: justify; |
| ta:ja | text-align: justify-all; |
| ta:l | text-align: left; |
| ta:mp | text-align: match-parent; |
| ta:r | text-align: right; |
| ta:s | text-align: start; |
Variants
Prefix any class with a variant to apply it only under that condition. Variants stack, as in @md:h:ta:l.
Breakpoints
Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.
| @xs:ta:l | From 32rem up. |
| @sm:ta:l | From 40rem up. |
| @md:ta:l | From 48rem up. |
| @lg:ta:l | From 64rem up. |
| @xl:ta:l | From 80rem up. |
| @xxl:ta:l | From 96rem up. |
Containers
Apply a class from a container's width up, not the viewport's. Mark the parent with ct:is first.
| @c:xs:ta:l | Container from 32rem up. |
| @c:sm:ta:l | Container from 40rem up. |
| @c:md:ta:l | Container from 48rem up. |
| @c:lg:ta:l | Container from 64rem up. |
| @c:xl:ta:l | Container from 80rem up. |
| @c:xxl:ta:l | Container from 96rem up. |
Media
Apply a class when the device or the page matches a condition, or on the first frame an element renders.
| @pc:ta:l | On a touch screen. |
| @prm:ta:l | With reduced motion on. |
| @st:ta:l | On the first frame. |
States
Apply a class only while the element is in a state, such as hovered, focused or checked.
| h:ta:l | On :hover. |
| f:ta:l | On :focus. |
| fv:ta:l | On :focus-visible. |
| a:ta:l | On :active. |
| d:ta:l | On :disabled. |
| fc:ta:l | On :first-child. |
| c:ta:l | On :checked. |
| e:ta:l | On :empty. |
| fw:ta:l | On :focus-within. |
| i:ta:l | On :invalid. |
| in:ta:l | On :indeterminate. |
| lc:ta:l | On :last-child. |
| nc:ta:l | On :nth-child. |
| r:ta:l | On :required. |
| ro:ta:l | On :read-only. |
| v:ta:l | On :valid. |
Pseudo Elements
Style a part of the element rather than the element itself, such as its placeholder or the selected text.
| a::ta:l | On ::after. |
| b::ta:l | On ::before. |
| p::ta:l | On ::placeholder. |
| s::ta:l | On ::selection. |