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