Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update feature list for CSS Paged Media module #37883

Merged
merged 6 commits into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions files/en-us/web/css/css_paged_media/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,29 @@
title: CSS paged media
slug: Web/CSS/CSS_paged_media
page-type: css-module
spec-urls:
- https://drafts.csswg.org/css-page/
- https://drafts.csswg.org/css-break/
spec-urls: https://drafts.csswg.org/css-page/
---

{{CSSRef}}

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 area, style left and right pages differently, and control breaks inside elements.
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.

## Reference

### Properties

- {{cssxref("break-after")}}
- {{cssxref("break-before")}}
- {{cssxref("break-inside")}}
- {{cssxref("orphans")}}
- {{cssxref("widows")}}
- {{cssxref('page')}}
skyclouds2001 marked this conversation as resolved.
Show resolved Hide resolved

### At-rules

- {{cssxref('@page')}}
- {{cssxref('@page/page-orientation', 'page-orientation')}} descriptor
- {{cssxref('@page/size', 'size')}} descriptor
- [Margin descriptors](/en-US/docs/Web/CSS/margin)
- [Margin at-rules](/en-US/docs/Web/CSS/@page#margin_at-rules)

> [!NOTE]
> CSS paged media module introduces two `@page` descriptors that have not been implemented: `bleeds` and `marks`.

### Pseudo-classes

Expand All @@ -32,11 +33,21 @@ The **CSS paged media** module defines the properties that control the presentat
- {{cssxref(':left')}}
- {{cssxref(':right')}}

## Related concepts

- [CSS fragmentation](/en-US/docs/Web/CSS/CSS_fragmentation) module
- {{cssxref("break-after")}} property
- {{cssxref("break-before")}} property
- {{cssxref("break-inside")}} property
- {{cssxref("orphans")}} property
- {{cssxref("widows")}} property

## Specifications

{{Specifications}}

## See also

- [Printing](/en-US/docs/Web/CSS/CSS_media_queries/Printing) guide
- [CSS fragmentation](/en-US/docs/Web/CSS/CSS_fragmentation) module
skyclouds2001 marked this conversation as resolved.
Show resolved Hide resolved
- [CSS media queries](/en-US/docs/Web/CSS/CSS_media_queries) module