Css 简明教程
CSS Paged Media
CSS paged media 是指一组 CSS 模块,用于设置文档的样式以便于打印或在其他媒体上显示。
CSS paged media refers to a set of CSS modules that enable the styling of documents for printing or displaying on other media.
CSS paged media 提供了专为打印文档设计的其他特性和属性。使用 CSS paged media 模块,您可以创建专门针对打印输出而定制的样式表,从而确保在纸上打印内容时看起来会很棒。这对于生成报表、书籍和其他打印展示很重要的文档尤其有用。
CSS paged media provides additional features and properties specifically designed for printed documents. Using CSS paged media modules, you can create stylesheets that are specifically tailored for printed output, ensuring that the content looks good when it is printed on paper. This is particularly useful for generating reports, books, and other documents where the printed presentation is important.
CSS Paged Media - Related Properties
以下是与 paged media 相关的 CSS 属性列表:
Following is the list of CSS properties related to paged media:
property |
value |
To break the page after an element. This is useful for controlling the layout of printed pages. |
|
To break the page before an element. This is useful for controlling the layout of printed pages. |
|
To break the page inside an element. This is useful for controlling the layout of printed pages. |
|
Specify the starting minimum number of lines placed at the bottom of the page. |
|
Specify the last minimum number of lines placed at the top of the page. |
CSS at-rules
以下是与 paged media 相关的 CSS at-rules 列表:
Following is the list of CSS at-rules related to paged media:
property |
value |
Specify the styles for printed pages when a web page is printed. |