monks/page

The page CSS property is used to specify the named page, a specific type of page defined by the {{cssxref(“@page”)}} at-rule.

If there are multiple selectors that are using a named page consecutively then a forced page break using break-after may be needed.

Values

pub const auto_: #(String, String)
  • : Default value. Use the value of the nearest ancestor with a non-auto value. If no ancestor has a named page value set, the used value for auto is the empty string.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for page

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for page. It will be wrapped in var() and have -- prepended.

Search Document