mozilla

Compare Revisions

:nth-child

Change Revisions

Revision 395181:

Revision 395181 by Sheppy on

Revision 439551:

Revision 439551 by teoli on

Title:
:nth-child
:nth-child
Slug:
Web/CSS/:nth-child
Web/CSS/:nth-child
Tags:
"css", "CSS Reference", "Selectors"
"css", "CSS Référence", "CSS Reference", "Selectors"
Content:

Revision 395181
Revision 439551
t14      The <code>:nth-child</code> <a href="/en-US/docs/CSS" titlet14      The <code>:nth-child(an+b)</code> <a href="/en-US/docs/CSS"
>="CSS">CSS</a> <a href="/en-US/docs/CSS/Pseudo-classes" title="Ps> title="CSS">CSS</a> <a href="/en-US/docs/CSS/Pseudo-classes" tit
>eudo-classes">pseudo-class</a> matches an element that has <code>>le="Pseudo-classes">pseudo-class</a> matches an element that has 
><em>a</em>n+<em>b</em>-1</code> siblings before it in the documen><code><em>a</em>n+<em>b</em>-1</code> siblings before it in the d
>t tree, for a given positive or zero value for <code>n</code>, an>ocument tree, for a given positive or zero value for <code>n</cod
>d has a parent element.>e>, and has a parent element.

Back to History