Tree Structural Pseudo Classes relate to the location of an element within the document tree.
In a HTML document, HTML is a root element, the different types of CSS selectors will help to access those elements in the HTML
- root : Represents an element that is the root of the document. In HTML this is usually the element.
- nth-last-child : Uses An+B notation to select elements from a list of sibling elements, counting backwards from the end of the list.