monks/border_image_slice

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

Values

pub const fill: #(String, String)
  • : Preserves the middle image region and displays it like a background image, but stacked above the actual {{cssxref(“background”)}}. 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 border-image-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 border-image-slice. It will be wrapped in var() and have -- prepended.

Search Document