Hierarchy
-
Child Selector ("parent > child")
Selects all direct child elements specified by "child" of elements specified by "parent".
-
Descendant Selector ("ancestor descendant")
Selects all elements that are descendants of a given ancestor.
-
Next adjacent Selector ("prev + next")
Selects all next elements matching "next" that are immediately preceded by a sibling "prev".
-
Next siblings Selector ("prev ~ siblings")
Selects all sibling elements that follow after the "prev" element, have the same parent, and match the filtering "siblings" selector.