monks/break_inside

The break-inside CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored.

Values

pub const auto_: #(String, String)
  • : Allows, but does not force, any break (page, column, or region) to be inserted within the principal box.
pub const avoid: #(String, String)
  • : Avoids any break (page, column, or region) from being inserted within the principal box.
pub const avoid_column: #(String, String)
  • : Avoids any column break within the principal box.
pub const avoid_page: #(String, String)
  • : Avoids any page break within the principal box.
pub const avoid_region: #(String, String)
  • : Avoids any region break within the principal box.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for break-inside

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 break-inside. It will be wrapped in var() and have -- prepended.

Search Document