HTML and CSS Reference
In-Depth Information
Pseudo-Elements
In CSS1 and CSS2, pseudo-elements were preceded by single colons, just as pseudo-classes
were. In CSS3, pseudo-elements use double colons to distinguish them from pseudo-classes.
For historical reasons, browsers will support both single- and double-colons on pseudo-ele-
ments, but the double-colon syntax is recommended.
Search WWH ::




Custom Search