monks/box_direction

{{Non-standard_header}}{{Deprecated_Header}}

This is a property of the original CSS flexible box layout Module draft, and has been replaced by a newer standard. The -moz-box-direction will only be used for XUL while the previous standard box-direction has been replaced by flex-direction. See flexbox for information about the current standard.

The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : The box lays out its contents from the start (the left or top edge).
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for box-direction

pub const reverse: #(String, String)
  • : The box lays out its contents from the end (the right or bottom edge).
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 box-direction. It will be wrapped in var() and have -- prepended.

Search Document