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