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