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