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