monks/transform_style

The transform-style CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element.

Values

pub const flat: #(String, String)
  • : Indicates that the children of the element are lying in the plane of the element itself.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const preserve_3d: #(String, String)
  • : Indicates that the children of the element should be positioned in the 3D-space.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for transform-style

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

Search Document