monks/border_image_repeat

The border-image-repeat CSS property defines how the images for the sides and the middle part of the border image are scaled and tiled. The middle region can be displayed by using the keyword “fill” in the {{cssxref(“border-image-slice”)}} property.

Values

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-repeat

pub const repeat: #(String, String)
  • : The source image’s edge regions are tiled (repeated) to fill the gap between each border. Tiles may be clipped to achieve the proper fit.
pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const round: #(String, String)
  • : The source image’s edge regions are tiled (repeated) to fill the gap between each border. Tiles may be stretched to achieve the proper fit.
pub const space: #(String, String)
  • : The source image’s edge regions are tiled (repeated) to fill the gap between each border. Extra space will be distributed in between tiles to achieve the proper fit.
pub const stretch: #(String, String)
  • : The source image’s edge regions are stretched to fill the gap between each border.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document