monks/inset_block

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

This {{glossary(“inset properties”, “inset property”)}} has no effect on non-positioned elements.

Values

pub const auto_: #(String, String)

auto value of inset-block

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

length value of inset-block

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

Enter a raw string value for inset-block

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

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

Search Document