monks/box_pack
{{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 -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.
The direction of layout depends on the element’s orientation: horizontal or vertical.
Values
pub const center: #(String, String)
- : The box packs contents in the center, dividing any extra space equally between the start and the end.
pub const end: #(String, String)
- : The box packs contents at the end, leaving any extra space at the start.
pub const justify: #(String, String)
- : The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the value as if it were
start.
pub const revert_layer: #(String, String)
pub const start: #(String, String)
- : The box packs contents at the start, leaving any extra space at the end.