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