monks/box_orient

{{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. See flexbox for information about the current standard.

The box-orient CSS property sets whether an element lays out its contents horizontally or vertically.

Values

pub const block_axis: #(String, String)
  • : The box displays its children along the block axis.The inline and block axes are the writing-mode dependent keywords which, in English, map to horizontal and vertical respectively.
pub const horizontal: #(String, String)
  • : The box lays out its contents horizontally.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inline_axis: #(String, String)
  • : The box displays its children along the inline axis.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for box-orient

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

pub const vertical: #(String, String)
  • : The box lays out its contents vertically.
Search Document