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