WeCodeAcademy

Hover and Other States

A pseudo-class styles an element in a special state. :hover applies while the mouse is over it.

Examplehtml
Open in editor »
Quick check

Which selector styles a link while the mouse is over it?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.