:first-of-type

The :first-of-type pseudo-class finds the first child of its type among the children of its parent.

Syntax



element:first-of-type {
  property: value;
}