You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>In CSS 2.0, <a href="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and right pages</a> can be selected. This specification adds support for selecting the nth page in the document, or the nth named page.
3740
+
<p>In CSS 2.0, <a
3741
+
href="http://www.w3.org/TR/CSS2/page.html#page-selectors">first, left and
3742
+
right pages</a> can be selected. This specification adds support for
3743
+
selecting the nth page in the document, or the nth named page.
3737
3744
3738
-
<div class=example>
3739
-
<p>This example sets the background color of the second page in the document:
3745
+
<divclass=example>
3746
+
<p>This example sets the background color of the second page in the
3747
+
document:
3740
3748
3741
-
<pre>
3749
+
<pre>
3742
3750
@page :nth(2) {
3743
3751
background: green;
3744
3752
}
3745
-
<pre>
3746
-
</div>
3753
+
</pre>
3747
3754
3748
-
<div class=example>
3749
-
<p>This example sets the background color of the second page of all chapters in a document:
3755
+
<pre>
3756
+
</pre>
3757
+
</div>
3750
3758
3751
-
<pre>
3759
+
<divclass=example>
3760
+
<p>This example sets the background color of the second page of all
<p>The arguments to the nth() functional notation is the same as for the <a href="http://www.w3.org/TR/css3-selectors/#nth-child-pseudo">nth-child()</a> pseudo-class.
3775
+
<pre>
3776
+
</pre>
3777
+
</div>
3765
3778
3766
-
<div class="example">
3767
-
<pre>
3779
+
<p>The arguments to the nth() functional notation is the same as for the <a
0 commit comments