WeCodeAcademy
❮ [attribute$=value]:focus ❯

:hover

Selects an element under the mouse.

Syntax

a:hover { ... }

Example

Examplehtml
Open in editor »

← All of CSS Selectors