# Animation Delay

Set how long an animation waits before it starts.

**Widely available.** This feature is well established and works across many devices and browser versions.

Chrome 43 · Edge 12 · Firefox 16 · Safari 9

| Class | Properties | Value |
|-------|------------|-------|
| `ad:0` | animation-delay | `0` |
| `ad:50` | animation-delay | `50ms` |
| `ad:100` | animation-delay | `100ms` |
| `ad:150` | animation-delay | `150ms` |
| `ad:200` | animation-delay | `200ms` |
| `ad:250` | animation-delay | `250ms` |
| `ad:300` | animation-delay | `300ms` |
| `ad:350` | animation-delay | `350ms` |
| `ad:400` | animation-delay | `400ms` |
| `ad:450` | animation-delay | `450ms` |
| `ad:500` | animation-delay | `500ms` |
| `ad:550` | animation-delay | `550ms` |
| `ad:600` | animation-delay | `600ms` |
| `ad:650` | animation-delay | `650ms` |
| `ad:700` | animation-delay | `700ms` |
| `ad:750` | animation-delay | `750ms` |
| `ad:800` | animation-delay | `800ms` |
| `ad:850` | animation-delay | `850ms` |
| `ad:900` | animation-delay | `900ms` |
| `ad:950` | animation-delay | `950ms` |
| `ad:1000` | animation-delay | `1000ms` |

## Variants

Prefix any class with a variant to apply it only under that condition. Variants stack, as in `@md:h:ad:500`.

### Breakpoints

Apply a class from a viewport width up. Each breakpoint covers its width & every width above it.

| Class | Applies |
|-------|---------|
| `@xs:ad:500` | From 32rem up. |
| `@sm:ad:500` | From 40rem up. |
| `@md:ad:500` | From 48rem up. |
| `@lg:ad:500` | From 64rem up. |
| `@xl:ad:500` | From 80rem up. |
| `@xxl:ad:500` | From 96rem up. |

### Containers

Apply a class from a container's width up, not the viewport's. Mark the parent with `ct:is` first.

| Class | Applies |
|-------|---------|
| `@c:xs:ad:500` | Container from 32rem up. |
| `@c:sm:ad:500` | Container from 40rem up. |
| `@c:md:ad:500` | Container from 48rem up. |
| `@c:lg:ad:500` | Container from 64rem up. |
| `@c:xl:ad:500` | Container from 80rem up. |
| `@c:xxl:ad:500` | 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.

| Class | Applies |
|-------|---------|
| `@pc:ad:500` | On a touch screen. |
| `@prm:ad:500` | With reduced motion on. |
| `@st:ad:500` | On the first frame. |

### States

Apply a class only while the element is in a state, such as hovered, focused or checked.

| Class | Applies |
|-------|---------|
| `h:ad:500` | On :hover. |
| `f:ad:500` | On :focus. |
| `fv:ad:500` | On :focus-visible. |
| `a:ad:500` | On :active. |
| `d:ad:500` | On :disabled. |
| `fc:ad:500` | On :first-child. |
| `c:ad:500` | On :checked. |
| `e:ad:500` | On :empty. |
| `fw:ad:500` | On :focus-within. |
| `i:ad:500` | On :invalid. |
| `in:ad:500` | On :indeterminate. |
| `lc:ad:500` | On :last-child. |
| `nc:ad:500` | On :nth-child. |
| `r:ad:500` | On :required. |
| `ro:ad:500` | On :read-only. |
| `v:ad:500` | On :valid. |

### Pseudo Elements

Style a part of the element rather than the element itself, such as its placeholder or the selected text.

| Class | Applies |
|-------|---------|
| `a::ad:500` | On ::after. |
| `b::ad:500` | On ::before. |
| `p::ad:500` | On ::placeholder. |
| `s::ad:500` | On ::selection. |