monks/mask_border_slice

The mask-border-slice CSS property divides the image set by {{cssxref(“mask-border-source”)}} into regions. These regions are used to form the components of an element’s mask border.

Values

pub const fill: #(String, String)
  • : Preserves the middle image region. Its width and height are sized to match the top and left image regions, respectively.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for mask-border-slice

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

Search Document