:nth-of-type()

The :nth-of-type pseudo-class is used to style elements of the specified type based on the numbering in the element tree.

Syntax



element:nth-of-type (odd | even | number | expression) {
  property: value;
}