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