monks/transform_origin

The transform-origin CSS property sets the origin for an element’s transformations.

Values

pub const bottom: #(String, String)

bottom value of transform-origin

pub const center: #(String, String)

center value of transform-origin

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

left value of transform-origin

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

length value of transform-origin

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

Enter a raw string value for transform-origin

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

right value of transform-origin

pub const top: #(String, String)

top value of transform-origin

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

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

Search Document