monks/flex_direction
The flex-direction CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
Values
pub const column: #(String, String)
- : The flex container’s main-axis is the same as the block-axis. The main-start and main-end points are the same as the before and after points of the writing-mode.
pub const column_reverse: #(String, String)
- : Behaves the same as
columnbut the main-start and main-end are opposite to the content direction.
pub const revert_layer: #(String, String)
pub const row: #(String, String)
- : The flex container’s main-axis is defined to be the same as the text direction. The main-start and main-end points are the same as the content direction.
pub const row_reverse: #(String, String)
- : Behaves the same as
rowbut the main-start and main-end points are opposite to the content direction.