Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Pseudo-classes

The selectors in this step are referred to as dynamic pseudo-classes because they classify elements on characteristics other than their type or attributes. Rather, they target elements in response to user actions.

A pseudo-class always uses a colon (:), followed by the specified state to match.

:hover

The :hover pseudo-class selects an element when the user hovers over it with a ...