Description

Structural pseudo-class, E:only-child an E element,that is the only child of its parent.

Example

p:only-child(font-weight:bold;}

Introduced in CSS version
3
Browser Support
BrowsersIE ieFirefox firefoxSafari safariOpera operaChrome chrome
Versions913.19.50.4
Belongs to:

See the full list CSS properties and browser support: CSS Properties