# Pointer Events

Set how an item responds to pointer events.

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

Chrome 2 · Edge 12 · Firefox 3.6 · Safari 4

| Class | Properties | Value |
|-------|------------|-------|
| `pe:auto` | pointer-events | `auto` |
| `pe:none` | pointer-events | `none` |

## Variants

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

### Breakpoints

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

| Class | Applies |
|-------|---------|
| `@xs:pe:none` | From 32rem up. |
| `@sm:pe:none` | From 40rem up. |
| `@md:pe:none` | From 48rem up. |
| `@lg:pe:none` | From 64rem up. |
| `@xl:pe:none` | From 80rem up. |
| `@xxl:pe:none` | 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:pe:none` | Container from 32rem up. |
| `@c:sm:pe:none` | Container from 40rem up. |
| `@c:md:pe:none` | Container from 48rem up. |
| `@c:lg:pe:none` | Container from 64rem up. |
| `@c:xl:pe:none` | Container from 80rem up. |
| `@c:xxl:pe:none` | 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:pe:none` | On a touch screen. |
| `@prm:pe:none` | With reduced motion on. |
| `@st:pe:none` | 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:pe:none` | On :hover. |
| `f:pe:none` | On :focus. |
| `fv:pe:none` | On :focus-visible. |
| `a:pe:none` | On :active. |
| `d:pe:none` | On :disabled. |
| `fc:pe:none` | On :first-child. |
| `c:pe:none` | On :checked. |
| `e:pe:none` | On :empty. |
| `fw:pe:none` | On :focus-within. |
| `i:pe:none` | On :invalid. |
| `in:pe:none` | On :indeterminate. |
| `lc:pe:none` | On :last-child. |
| `nc:pe:none` | On :nth-child. |
| `r:pe:none` | On :required. |
| `ro:pe:none` | On :read-only. |
| `v:pe:none` | 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::pe:none` | On ::after. |
| `b::pe:none` | On ::before. |
| `p::pe:none` | On ::placeholder. |
| `s::pe:none` | On ::selection. |