Using CSS

Pseudo Classes

Pseudo Classes are styles which apply to content which does not exist in the source document.

For example, a link hover style is a the most commonly used pseudo-class.

The active and visited states of a link are also pseudo-classes.

First-child is another pseudo-class.