Pseudo-class
Updated: 08/02/2019 by Computer Hope
A pseudo-class is an element of CSS (cascading style sheets) coding that adds conditions to a class. When a pseudo-class is added, specific parameters must be met for the instructions to be executed. To add a pseudo-class to a CSS rule, it must immediately be followed by a colon (:), followed by the name of the pseudo-class.
For example, if the :hover pseudo-class is added, the rule is only in effect when the user hovers their mouse cursor over the element.