monks/border_top_width

The border-top-width CSS property sets the width of the top border of an element.

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-top-width

pub const medium: #(String, String)

medium value of border-top-width

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

Enter a raw string value for border-top-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-top-width

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

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

Search Document