CSS pointer-events Property Explained

What the CSS pointer-events property does, with an example.

Published November 6, 2026

The CSS pointer-events property controls whether an element responds to mouse/pointer interactions at all.

Key points

  • Check browser compatibility on a resource like caniuse.com if targeting older browsers

Example

pointer-events: none;
More CSS articles