The pseudo-classes and pseudo-elements are keywords that can be appended to selectors to make them more specific. They are easy to recognize because they are always preceded by one or two colons.
Pseudo-Elements
Pseudo-elements enable parts of an element to be styled. Only one of these can be applied to any one selector.