monks/border_width

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

Values

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

length value of border-width

pub const medium: #(String, String)

medium value of border-width

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

Enter a raw string value for border-width

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

[!NOTE]> Because the specification doesn’t define the exact thickness denoted by each keyword, the precise result when using one of them is implementation-specific. Nevertheless, they always follow the pattern thin ≤ medium ≤ thick, and the values are constant within a single document.

pub const thin: #(String, String)

thin value of border-width

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

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

Search Document