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