# Modern Selectors: :is(), :where() and :has()

The :is() and :where() pseudo-classes shorten long selector lists, :where() with no specificity at all, and :has() styles an element by what it contains, so a page can react to a click with no JavaScript.

![Cheat sheet: Modern Selectors: :is(), :where() and :has()](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/cdeca56323d842ba858e722eec81cb86.webp)

- Category: CSS
- Level: Journeyman
- Tags: :has(), :is(), CSS, Functional pseudo-class, where
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-is-where-has-cheat-sheet
