only-of-type property CSS Reference



Definition and Usage

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


Syntax

element:only-of-type { style properties }

Examples

No examples


Compatibility

Desktop browsers

FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support1.03.5 (1.9.1)9.09.53.2

Mobile browsers

FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support2.11.0 (1.9.1)9.010.03.2

Relative articles