Applies one or more styles to the element that is the n-th child of its parent element.
A CSS simple selector.
- Selectors Level 3, Section 18.104.22.168
The :nth-child pseudo-class is a structural pseudo-class. Structural pseudo-classes enable selection based on extra information in the document tree that cannot be selected using simple selectors or combinators.