Selectors are patterns used to identify select the elements in the DOM for which styles would be applied. In fact, they are the first part of any CSS rule.

Out of various patterns used to select a particular DOM element from the tree, pseudo-elements and pseudo-classes (obviously!) are one of its kind which is drastically different than the common ones. (FYI: Type, class, and ID selectors, Attribute selectors, Attribute selectors are the other types).

#style #css3 #web-development #web-design

CSS Pseudo Selectors: What are they?
1.60 GEEK