- Web design
- CSS
- here
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.
- visited pseudo-class
- hover pseudo-class
- first-child pseudo-class
- last-child pseudo-class
- nth-child pseudo-class
List of all pseudo-classes
A list of all pseudo-classes can be found on MDN web docs.