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