:only-of-type

The :only-of-type pseudo-class applies to a child element of the specified type only if it is the only one of the parent.

Syntax



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