:only-of-type (CSS3)

The :only-of-type pseudo-class represents any element that has no siblings of the given type.

Syntax

:only-of-type { declaration block }

Examples having uses of: ':only-of-type'