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