What is a CSS pseudo-class?

What is a CSS pseudo-class?

1 Like

A CSS pseudo - class is a keyword added to a selector that specifies a special state of the selected element(s). For example, :hover can be used to change a button’s color when the user’s pointer hovers over it.