baselinewidely| Class | CSS |
|---|---|
| ai:b | align-items: baseline; |
| ai:c | align-items: center; |
| ai:fe | align-items: flex-end; |
| ai:fs | align-items: flex-start; |
| ai:s | align-items: stretch; |
Variants
Prefix any class with a variant to apply it only under that condition. Variants stack, as in @md:h:ai:fe.
Breakpoints
Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.
| @xs:ai:fe | From 32rem up. |
| @sm:ai:fe | From 40rem up. |
| @md:ai:fe | From 48rem up. |
| @lg:ai:fe | From 64rem up. |
| @xl:ai:fe | From 80rem up. |
| @xxl:ai:fe | 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:ai:fe | Container from 32rem up. |
| @c:sm:ai:fe | Container from 40rem up. |
| @c:md:ai:fe | Container from 48rem up. |
| @c:lg:ai:fe | Container from 64rem up. |
| @c:xl:ai:fe | Container from 80rem up. |
| @c:xxl:ai:fe | 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:ai:fe | On a touch screen. |
| @prm:ai:fe | With reduced motion on. |
| @st:ai:fe | On the first frame. |
States
Apply a class only while the element is in a state, such as hovered, focused or checked.
| h:ai:fe | On :hover. |
| f:ai:fe | On :focus. |
| fv:ai:fe | On :focus-visible. |
| a:ai:fe | On :active. |
| d:ai:fe | On :disabled. |
| fc:ai:fe | On :first-child. |
| c:ai:fe | On :checked. |
| e:ai:fe | On :empty. |
| fw:ai:fe | On :focus-within. |
| i:ai:fe | On :invalid. |
| in:ai:fe | On :indeterminate. |
| lc:ai:fe | On :last-child. |
| nc:ai:fe | On :nth-child. |
| r:ai:fe | On :required. |
| ro:ai:fe | On :read-only. |
| v:ai:fe | On :valid. |
Pseudo Elements
Style a part of the element rather than the element itself, such as its placeholder or the selected text.
| a::ai:fe | On ::after. |
| b::ai:fe | On ::before. |
| p::ai:fe | On ::placeholder. |
| s::ai:fe | On ::selection. |