Pseudo class-Introduction to CSS [CSS3 compatible]

Pseudo-classes are pseudo-classes that start with ":". It is commonly used in combination with tag names.

li: last-child {

}

a: visited {

}

We will introduce carefully selected pseudo-classes that are often used in practice.

List of all pseudo-classes

A list of all pseudo-classes can be found on MDN web docs.

Pseudo-classes --MDN web docs

Associated Information