monks/border_block_width

The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element’s writing mode, directionality, and text orientation. It corresponds to the {{cssxref(“border-top-width”)}} and {{cssxref(“border-bottom-width”)}}, or {{cssxref(“border-left-width”)}}, and {{cssxref(“border-right-width”)}} property depending on the values defined for {{cssxref(“writing-mode”)}}, {{cssxref(“direction”)}}, and {{cssxref(“text-orientation”)}}.

The border width in the other dimension can be set with {{cssxref(“border-inline-width”)}}, which sets {{cssxref(“border-inline-start-width”)}}, and {{cssxref(“border-inline-end-width”)}}.

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

pub const medium: #(String, String)

medium value of border-block-width

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

Enter a raw string value for border-block-width

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

thick value of border-block-width

pub const thin: #(String, String)

thin value of border-block-width

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

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

Search Document