Pseudo-class
Also written: pseudo-classes, :hover, :focus, :visited, :first-child
A selector for an element in a particular state, written with a colon, such as `a:hover` for a link under the pointer or `input:focus` for a box ready for typing.
Also written: pseudo-classes, :hover, :focus, :visited, :first-child
A selector for an element in a particular state, written with a colon, such as `a:hover` for a link under the pointer or `input:focus` for a box ready for typing.