:last-of-type

The :last-of-type pseudo-class finds the last child with the given tag in the list of children of the parent element.

Syntax



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