Селектор :only-child


Содержание:

only-child selector

Описание: Selects all elements that are the only child of their parent.

  • Добавлен в версии: 1.1.4jQuery( ":only-child" )

If the parent has other child elements, nothing is matched.