monks/page_break_before
{{deprecated_header}}
This property has been replaced by the {{cssxref(“break-before”)}} property.
The page-break-before CSS property adjusts page breaks before the current element.
This property applies to block elements that generate a box. It won’t apply on an empty {{ HTMLElement(“div”) }} that won’t generate a box.
Values
pub const auto_: #(String, String)
- : Initial value. Automatic page breaks (neither forced nor forbidden).
pub const left: #(String, String)
- : Force page breaks before the element so that the next page is formatted as a left page. It’s the page placed on the left side of the spine of the book or the back side of the page in duplex printing.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for page-break-before
pub const recto: #(String, String)
- : If pages progress left-to-right, then this acts like
right. If pages progress right-to-left, then this acts likeleft.
pub const revert_layer: #(String, String)
pub const right: #(String, String)
- : Force page breaks before the element so that the next page is formatted as a right page. It’s the page placed on the right side of the spine of the book or the front side of the page in duplex printing.
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for page-break-before.
It will be wrapped in var() and have -- prepended.