monks/border_image_source

The border-image-source CSS property sets the source image used to create an element’s border image.

The {{cssxref(“border-image-slice”)}} property is used to divide the source image into regions, which are then dynamically applied to the final border image.

Values

pub const bottom: #(String, String)

bottom value of border-image-source

pub const center: #(String, String)

center value of border-image-source

pub const circle: #(String, String)

circle value of border-image-source

pub const closest_corner: #(String, String)

closest-corner value of border-image-source

pub const closest_side: #(String, String)

closest-side value of border-image-source

pub const contain: #(String, String)

contain value of border-image-source

pub const cover: #(String, String)

cover value of border-image-source

pub const ellipse: #(String, String)

ellipse value of border-image-source

pub const farthest_corner: #(String, String)

farthest-corner value of border-image-source

pub const farthest_side: #(String, String)

farthest-side value of border-image-source

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const left: #(String, String)

left value of border-image-source

pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of border-image-source

pub const none: #(String, String)
  • : No border image is used. The appearance defined by {{cssxref(“border-style”)}} is displayed instead.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for border-image-source

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const right: #(String, String)

right value of border-image-source

pub const top: #(String, String)

top value of border-image-source

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

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

Search Document