baselinewidely| Class | CSS |
|---|---|
| br:0 | border-radius: 0; |
| br:9999 | border-radius: 9999px; |
| br:xs | border-radius: 0.125rem; |
| br:sm | border-radius: 0.25rem; |
| br:md | border-radius: 0.375rem; |
| br:lg | border-radius: 0.5rem; |
| br:xl | border-radius: 0.75rem; |
| br:xxl | border-radius: 1rem; |
| br:3xl | border-radius: 1.5rem; |
| br:100% | border-radius: 100%; |
| br:50% | border-radius: 50%; |
| br:px | border-radius: 1px; |
The same values work with bber, bbsr, bblr, bbr, bbrr, beer, besr, bier, bisr, blr, brr, bser, bssr, btlr, btr & btrr, as in btrr:md.
Variants
Prefix any class with a variant to apply it only under that condition. Variants stack, as in @md:h:br:xl.
Breakpoints
Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.
| @xs:br:xl | From 32rem up. |
| @sm:br:xl | From 40rem up. |
| @md:br:xl | From 48rem up. |
| @lg:br:xl | From 64rem up. |
| @xl:br:xl | From 80rem up. |
| @xxl:br:xl | 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:xl | Container from 32rem up. |
| @c:sm:br:xl | Container from 40rem up. |
| @c:md:br:xl | Container from 48rem up. |
| @c:lg:br:xl | Container from 64rem up. |
| @c:xl:br:xl | Container from 80rem up. |
| @c:xxl:br:xl | 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:xl | On a touch screen. |
| @prm:br:xl | With reduced motion on. |
| @st:br:xl | On the first frame. |
States
Apply a class only while the element is in a state, such as hovered, focused or checked.
| h:br:xl | On :hover. |
| f:br:xl | On :focus. |
| fv:br:xl | On :focus-visible. |
| a:br:xl | On :active. |
| d:br:xl | On :disabled. |
| fc:br:xl | On :first-child. |
| c:br:xl | On :checked. |
| e:br:xl | On :empty. |
| fw:br:xl | On :focus-within. |
| i:br:xl | On :invalid. |
| in:br:xl | On :indeterminate. |
| lc:br:xl | On :last-child. |
| nc:br:xl | On :nth-child. |
| r:br:xl | On :required. |
| ro:br:xl | On :read-only. |
| v:br:xl | 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:xl | On ::after. |
| b::br:xl | On ::before. |
| p::br:xl | On ::placeholder. |
| s::br:xl | On ::selection. |