mozilla

Compare Revisions

:only-child

Change Revisions

Revision 35190:

Revision 35190 by McGurk on

Revision 35191:

Revision 35191 by teoli on

Title:
:only-child
:only-child
Slug:
CSS/:only-child
CSS/:only-child
Tags:
css, "CSS Reference", Selectors
css, "CSS Reference", Selectors
Content:

Revision 35190
Revision 35191
t11      Target an element which is the only child of its parent.t11      The <code>:only-child</code> <a href="/en/CSS/Pseudo-classe
 >s" title="Pseudo-classes">pseudo-class</a> represents any element
 > which is the only child of its parent.

Back to History