baselinelimited| Class | CSS |
|---|---|
| cs:b | corner-shape: bevel; |
| cs:n | corner-shape: notch; |
| cs:r | corner-shape: round; |
| cs:s | corner-shape: squircle; |
The same values work with cbes, cbss, cbls, cbrs, cbs, cees, cests, cies, ciss, cls, crs, cses, csss, ctls, ctrs & cts, as in cts:s.
Variants
Prefix any class with a variant to apply it only under that condition. Variants stack, as in @md:h:cs:r.
Breakpoints
Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.
| @xs:cs:r | From 32rem up. |
| @sm:cs:r | From 40rem up. |
| @md:cs:r | From 48rem up. |
| @lg:cs:r | From 64rem up. |
| @xl:cs:r | From 80rem up. |
| @xxl:cs:r | 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:cs:r | Container from 32rem up. |
| @c:sm:cs:r | Container from 40rem up. |
| @c:md:cs:r | Container from 48rem up. |
| @c:lg:cs:r | Container from 64rem up. |
| @c:xl:cs:r | Container from 80rem up. |
| @c:xxl:cs:r | 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:cs:r | On a touch screen. |
| @prm:cs:r | With reduced motion on. |
| @st:cs:r | On the first frame. |
States
Apply a class only while the element is in a state, such as hovered, focused or checked.
| h:cs:r | On :hover. |
| f:cs:r | On :focus. |
| fv:cs:r | On :focus-visible. |
| a:cs:r | On :active. |
| d:cs:r | On :disabled. |
| fc:cs:r | On :first-child. |
| c:cs:r | On :checked. |
| e:cs:r | On :empty. |
| fw:cs:r | On :focus-within. |
| i:cs:r | On :invalid. |
| in:cs:r | On :indeterminate. |
| lc:cs:r | On :last-child. |
| nc:cs:r | On :nth-child. |
| r:cs:r | On :required. |
| ro:cs:r | On :read-only. |
| v:cs:r | On :valid. |
Pseudo Elements
Style a part of the element rather than the element itself, such as its placeholder or the selected text.
| a::cs:r | On ::after. |
| b::cs:r | On ::before. |
| p::cs:r | On ::placeholder. |
| s::cs:r | On ::selection. |