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