Skip to content

Commit 6948f64

Browse files
CSS module: paged media (#40970)
* CSS module: paged media part of openwebdocs/project#147 * Apply suggestions from code review Co-authored-by: Chris Mills <[email protected]> --------- Co-authored-by: Chris Mills <[email protected]>
1 parent e38b228 commit 6948f64

File tree

1 file changed

+19
-11
lines changed
  • files/en-us/web/css/css_paged_media

1 file changed

+19
-11
lines changed

files/en-us/web/css/css_paged_media/index.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,39 @@ spec-urls: https://drafts.csswg.org/css-page/
66
sidebar: cssref
77
---
88

9-
The **CSS paged media** module defines the properties that control the presentation of content for print or any other media that splits content into discrete pages. It allows you to set page breaks, control printable areas, style left and right pages differently, and control breaks inside elements.
9+
The **CSS paged media** module defines the properties that control the presentation of content for print or any other media that splits content into discrete pages. It allows you to set page breaks, control printable areas, and style left and right pages differently.
10+
11+
The CSS paged media module specifies how pages are generated and laid out to hold fragmented content in a paged presentation, including content that is printed or represented as a print preview. The module defines functionality for controlling page margins, size, orientation, and headers and footers. It extends [generated content](/en-US/docs/Web/CSS/CSS_generated_content) to provide functionality for generating page numbers and running headers and footers.
12+
13+
The process of paginating content into generated pages and controlling breaks inside elements is covered in the [CSS fragmentation module](/en-US/docs/Web/CSS/CSS_fragmentation).
1014

1115
## Reference
1216

1317
### Properties
1418

15-
- {{cssxref('page')}}
19+
- {{cssxref("page")}}
1620

1721
### At-rules
1822

19-
- {{cssxref('@page')}}
20-
- {{cssxref('@page/page-orientation', 'page-orientation')}} descriptor
21-
- {{cssxref('@page/size', 'size')}} descriptor
23+
- {{cssxref("@page")}}
24+
- {{cssxref("@page/page-orientation", "page-orientation")}} descriptor
25+
- {{cssxref("@page/size", "size")}} descriptor
2226
- [Margin descriptors](/en-US/docs/Web/CSS/margin)
2327
- [Margin at-rules](/en-US/docs/Web/CSS/@page#margin_at-rules)
2428

25-
The CSS paged media module also introduces the `bleeds` and `marks` `@page` descriptors. Currently, no browsers support these features.
29+
The CSS paged media module also introduces the `bleeds` and `marks` descriptors of the `@page` at-rule. Currently, no browsers support these features.
2630

2731
### Pseudo-classes
2832

29-
- {{cssxref(':blank')}}
30-
- {{cssxref(':first')}}
31-
- {{cssxref(':left')}}
32-
- {{cssxref(':right')}}
33+
- {{cssxref(":blank")}}
34+
- {{cssxref(":first")}}
35+
- {{cssxref(":left")}}
36+
- {{cssxref(":right")}}
37+
38+
## Guides
39+
40+
- [Printing](/en-US/docs/Web/CSS/CSS_media_queries/Printing)
41+
- : Tips and techniques for helping improve web content printer output.
3342

3443
## Related concepts
3544

@@ -46,6 +55,5 @@ The CSS paged media module also introduces the `bleeds` and `marks` `@page` desc
4655

4756
## See also
4857

49-
- [Printing](/en-US/docs/Web/CSS/CSS_media_queries/Printing) guide
5058
- [CSS fragmentation](/en-US/docs/Web/CSS/CSS_fragmentation) module
5159
- [CSS media queries](/en-US/docs/Web/CSS/CSS_media_queries) module

0 commit comments

Comments
 (0)