monks/offset_distance

The offset-distance CSS property specifies a position along an {{CSSxRef(“offset-path”)}} for an element to be placed.

Values

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

length value of offset-distance

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

Enter a raw string value for offset-distance

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 offset-distance. It will be wrapped in var() and have -- prepended.

Search Document