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
margin properties, border properties, and padding properties. UAs may
3261
-
apply other properties as well.
3262
+
<h2>Regions and Exclusions examples</h2>
3262
3263
3263
3264
<divclass=example>
3264
-
3265
-
<p>In this example, there will be one column on the starting page of
3266
-
each chapter, while subsequent pages will have two columns:
3267
-
3268
-
<pre>
3269
-
div.chapter { columns: 2 }
3270
-
div.chapter::first-page { columns: 1 }
3271
-
</pre>
3272
-
3273
-
</div>
3274
-
3275
-
<divclass=example>
3276
-
3277
-
<p>In this example, padding is added on the left side on the starting
3278
-
page of each chapter:
3279
-
3280
-
<pre>
3281
-
div.chapter { break-before: left }
3282
-
div.chapter::first-page { padding-left: 4em }
3283
-
</pre>
3284
-
3265
+
<imgsrc=exclusion_ordering_z_order.png>
3285
3266
</div>
3286
3267
3287
-
3288
-
3289
-
<h2>Selecting columns</h2>
3290
-
3291
-
<pclass=issue>This is sketchy.
3292
-
3293
-
<p>Pseudo-elements are introduced to apply styling to the part of an
3294
-
element that ends up on a certain page of column of that element. The
3295
-
'column(n)' pseudo-element selects columns, the 'column(n,p)' pseudo-element selects columns on certain pages, nad the 'page(n)'
3296
-
psedo-element select pages.
3297
-
3298
3268
<divclass=example>
3299
-
<pre>
3300
-
div.chapter::column(3) /* the third column of the element */
3301
-
div.chapter::column(2n) /* all even columns of the element */
3302
-
div.chapter::column(2,2) /* second column on second page */
3303
-
div.chapter::column(*,2) /* all columns on the second page */
3304
-
div.chapter::page(2) /* second page of the element */
3305
-
div.chapter::page(2-4) /* select page 2, 3, and 4 */
3306
-
div.chapter::page(2)::column(2) /* second column, but only if it appears on the second page */
3307
-
</pre>
3269
+
<imgsrc=exclusion_ordering.png>
3308
3270
</div>
3309
3271
3310
3272
<divclass=example>
3311
-
<pre>
3312
-
div.chapter::column(1) {
3313
-
transform: rotate(6.5deg);
3314
-
}
3315
-
div.chapter::column(2) {
3316
-
transform: rotate(-5.5deg) translate(0, 40px);
3317
-
}
3318
-
</pre>
3319
-
3320
-
<imgsrc="regions_rotated_columns.jpg">
3273
+
<imgsrc=shapes_CSS2.1_MBP.png>
3321
3274
</div>
3322
3275
3323
3276
3324
-
<h2>Selecting pages</h2>
3277
+
<h2>Selecting pages</h2>
3325
3278
3326
3279
<p>In CSS 2.0, <ahref="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.
3327
3280
@@ -3378,6 +3331,54 @@ <h2>Selecting pages </h2>
3378
3331
</div>
3379
3332
3380
3333
3334
+
<h3>The 'first-page' pseudo-element</h3>
3335
+
3336
+
<pclass=issue>This may no longer be needed du to generic page selectors
3337
+
3338
+
<p>The 'first-page' pseudo-element is used to apply styling to the
3339
+
part of an element that ends up on the starting page for that element.
3340
+
If the whole element appears on the starting page, 'first-page'
3341
+
applies to the whole element. The following properties apply to
0 commit comments