Pseudo-class
Using CSS pseudo-classes to apply styles based on specific states of an element
Using CSS pseudo-classes to apply styles based on specific states of an element
How to apply styles to elements based on specific states using CSS pseudo-classes