WeCodeAcademy
❮ :focus:first-child ❯

:active

Selects an element being pressed.

Syntax

button:active { ... }

Example

Examplehtml
Open in editor »

← All of CSS Selectors