The :nth-child pseudo-class is used to add styling to elements based on the numbering in the element tree.
:nth-child
element:nth-child (odd | even | number | expression) { property: value; }