The :only-child pseudo-class represents any element which is the only child of its parent.
:only-child { declaration block }