monks/border_image_width

The border-image-width CSS property sets the width of an element’s border image.

If this property’s value is greater than the element’s {{cssxref(“border-width”)}}, the border image will extend beyond the padding (and/or content) edge.

Values

pub const auto_: #(String, String)
  • : The width of the border is made equal to the intrinsic width or height (whichever is applicable) of the corresponding {{cssxref(“border-image-slice”)}}. If the image does not have the required intrinsic dimension, the corresponding border-width is used instead.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of border-image-width

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for border-image-width

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

Search Document