Pseudo-class and elements | Techbirds
Difference between a pseudo-class and a pseudo-element Pseudo-Class A pseudo-class is way of selecting certain parts of a HTML document, based in principle not on the HTML document tree itself and its elements or on characteristics like name, attributes or contents, but on other phantom conditions like language encoding or the dynamic state of an