Structural pseudo-class, E:only-child an E element, that is the only child of its parent.
Selects elements that have no siblings.
- Live Example
- Play with the code in the textarea below.
- Introduced in CSS version
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 9 1 3.1 9.5 0.4
See the full list CSS properties and browser support: CSS Properties