monks/rotate

The rotate CSS property allows you to specify rotation transforms individually and independently of the {{CSSxRef(“transform”)}} property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform property.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : Specifies that no rotation should be applied.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for rotate

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

pub const x: #(String, String)

x value of rotate

pub const y: #(String, String)

y value of rotate

pub const z: #(String, String)

z value of rotate

Search Document