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