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
horizontalandverticalrespectively.
pub const horizontal: #(String, String)
- : The box lays out its contents horizontally.
pub const inline_axis: #(String, String)
- : The box displays its children along the inline axis.
pub const revert_layer: #(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.