Hover
A pseudo-class is "a keyword added to a selector that specifies a special state of the selected element(s)" (from MDN Web Docs). One of the most useful and familiar pseudo-classes is :hover
, which defines the appearance of an element when the user's pointer is hovering over it.
See the Pen :hover (IMS322 docs) by Eric Sheffield (@ersheff) on CodePen.