Skip to content

Commit 0c01702

Browse files
committed
Linkify references to :nth-child for other :nth-foo pseudos
1 parent 417351a commit 0c01702

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

selectors3/Overview.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,8 @@ <h5><a name=nth-last-child-pseudo>:nth-last-child() pseudo-class</a></h5>
16671667
<var>a</var><code>n</code>+<var>b</var>-1 siblings
16681668
<strong>after</strong> it in the document tree, for any positive
16691669
integer or zero value of <code>n</code>, and has a parent element. See
1670-
<code>:nth-child()</code> pseudo-class for the syntax of its argument.
1670+
<a href="#nth-child-pseudo"><code>:nth-child()</code></a> pseudo-class for
1671+
the syntax of its argument.
16711672
It also accepts the '<code>even</code>' and '<code>odd</code>' values
16721673
as arguments.
16731674

@@ -1688,8 +1689,9 @@ <h5><a name=nth-of-type-pseudo>:nth-of-type() pseudo-class</a></h5>
16881689
<var>a</var><code>n</code>+<var>b</var>-1 siblings with the same expanded
16891690
element name <strong>before</strong> it in the document tree, for any
16901691
zero or positive integer value of <code>n</code>, and has a
1691-
parent element. It also accepts the '<code>even</code>' and '<code>odd</code>'
1692-
values.
1692+
parent element. See <a href="#nth-child-pseudo"><code>:nth-child()</code></a>
1693+
pseudo-class for the syntax of its argument. It also accepts the
1694+
'<code>even</code>' and '<code>odd</code>' values.
16931695

16941696

16951697
<div class="example">
@@ -1707,9 +1709,9 @@ <h5><a name=nth-last-of-type-pseudo>:nth-last-of-type() pseudo-class</a></h5>
17071709
<var>a</var><code>n</code>+<var>b</var>-1 siblings with the same expanded
17081710
element name <strong>after</strong> it in the document tree, for any
17091711
zero or positive integer value of <code>n</code>, and has a
1710-
parent element. See <code>:nth-child()</code> pseudo-class for the
1711-
syntax of its argument. It also accepts the '<code>even</code>' and
1712-
'<code>odd</code>' values.
1712+
parent element. See <a href="#nth-child-pseudo"><code>:nth-child()</code></a>
1713+
pseudo-class for the syntax of its argument. It also accepts the
1714+
'<code>even</code>' and '<code>odd</code>' values.
17131715

17141716

17151717
<div class="example">

0 commit comments

Comments
 (0)