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