Une pseudo-classe cible un état d'un élément ou sa position, avec un seul deux-points : :hover (survol), :focus et :focus-visible (focus), :active, :disabled, :first-child, :nth-child(). Elles permettent de styler l'interaction sans JavaScript.
Exemple
a:hover { text-decoration: underline; }
li:nth-child(odd) { background: #eee; }