monks/z_index

The z-index CSS property sets the z-order of a positioned element and its descendants or flex and grid items. Overlapping elements with a larger z-index cover those with a smaller one.

Values

pub const auto_: #(String, String)
  • : The box does not establish a new local stacking context. The stack level of the generated box in the current stacking context is 0.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for z-index

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

Search Document