🏠 New in Low Baseline Support: User action pseudo-classes

July 29, 2015

caniuse · mdn · [spec]([‘https://drafts.csswg.org/selectors-4/#the-hover-pseudo’, ‘https://drafts.csswg.org/selectors-4/#the-active-pseudo’, ‘https://drafts.csswg.org/selectors-4/#the-focus-pseudo’])

The :active, :focus, and :hover CSS pseudo-classes match elements based on how users are interacting with them.

Source features