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