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