monks/backface_visibility

The backface-visibility CSS property sets whether the back face of an element is visible when turned towards the user.

An element’s back face is a mirror image of its front face. Though invisible in 2D, the back face can become visible when a transformation causes the element to be rotated in 3D space. (This property has no effect on 2D transforms, which have no perspective.)

Values

pub const hidden: #(String, String)
  • : The back face is hidden, effectively making the element invisible when turned away from the user.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for backface-visibility

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

pub const visible: #(String, String)
  • : The back face is visible when turned towards the user.
Search Document