The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element’s writing mode, directionality, and text orientation. It corresponds to the {{cssxref(“border-top-style”)}} and {{cssxref(“border-bottom-style”)}}, or {{cssxref(“border-left-style”)}} and {{cssxref(“border-right-style”)}} properties depending on the values defined for {{cssxref(“writing-mode”)}}, {{cssxref(“direction”)}}, and {{cssxref(“text-orientation”)}}.
The border style in the other dimension can be set with {{cssxref(“border-inline-style”)}}, which sets {{cssxref(“border-inline-start-style”)}}, and {{cssxref(“border-inline-end-style”)}}.
pub const dashed: #(String, String)
dashed value of border-block-style
pub const dotted: #(String, String)
dotted value of border-block-style
pub const double: #(String, String)
double value of border-block-style
pub const groove: #(String, String)
groove value of border-block-style
pub const hidden: #(String, String)
hidden value of border-block-style
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inset: #(String, String)
inset value of border-block-style
pub const none: #(String, String)
none value of border-block-style
pub const outset: #(String, String)
outset value of border-block-style
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for border-block-style
pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const ridge: #(String, String)
ridge value of border-block-style
pub const solid: #(String, String)
solid value of border-block-style
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for border-block-style.
It will be wrapped in var() and have -- prepended.