# Pseudo-Classes: :hover, :focus-visible, :nth-child() and More

Pseudo-classes select elements by their state, such as hovered, focused, checked or disabled, or by their position, such as first, last or every other, and :not() leaves some out.

![Cheat sheet: Pseudo-Classes: :hover, :focus-visible, :nth-child() and More](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/ff7a322a8da74381b1628ac02886fc59.webp)

- Category: CSS
- Level: Apprentice
- Tags: :focus, :hover, :not(), :nth-child(), checked, CSS, Pseudo-class
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/css-pseudo-classes-cheat-sheet
