monks/offset_anchor

The offset-anchor CSS property specifies the point inside the box of an element traveling along an {{cssxref(“offset-path”)}} that is actually moving along the path.

Values

pub const auto_: #(String, String)
  • : offset-anchor is given the same value as the element’s {{cssxref(“transform-origin”)}}, unless {{cssxref(“offset-path”)}} is none, in which case it takes its value from {{cssxref(“offset-position”)}}.
pub const bottom: #(String, String)

bottom value of offset-anchor

pub const center: #(String, String)

center value of offset-anchor

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const left: #(String, String)

left value of offset-anchor

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

length value of offset-anchor

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

Enter a raw string value for offset-anchor

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

right value of offset-anchor

pub const top: #(String, String)

top value of offset-anchor

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

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

Search Document