HTML and CSS Reference
In-Depth Information
Structural Pseudo-Classes
Strictly speaking, all pseudo-classes (like all selectors) are structural: they are, after all, de-
pendent on document structure in some fashion. What sets the pseudo-classes listed here apart
is that they are intrinsically about patterns found in the structure of the document, like select-
ing every other paragraph or elements that are the last children of their parent element.
Search WWH ::

Custom Search