u-flex |
|
Treat the element as a flex container and its children as flex items. |
u-flex- |
item |
Size item according to its width and height properties, but grow to absorb any extra free space in the flex container and shrink to its minimum size to fit the container. |
direction-column |
Direction in which lines of text are stacked. Aligns items in columns as opposed to rows. |
wrap |
Break flex items into multiple lines. |
wrap-nowrap |
Lay flex items out in a single line which may cause the flex container to overflow. |
u-flex-basis- |
auto |
Set the size of the element relative to the width and height of the content of the element. |
100 |
Set the size of the element(s) to 100% of the available space in the parent container. |
0 |
Prevent the element(s) from taking up the available space in the parent container. |
u-flex-grow- |
1 |
Allow the item to grow to fit available space. |
0 |
Do not allow the item to grow to fit available space. |
u-flex-shrink- |
1 |
Allow the item to shrink to fit available space. |
0 |
Prevent the item from shrinking to fit available space. |
u-order- |
|
Refer to the Order utilities on this page. |
u-justify-content- |
flex-start |
Horizontally align (justify) content to the start of the div. |
flex-end |
Horizontally align (justify) content to the end of the div. |
center |
Horizontally align (justify) content to the center of the div. |
space-between |
Distribute content evenly with the first item flush with the start and the last item flush with the end. |
space-around |
Distribute content evenly with a half-size space on either end of items. |
stretch |
Distribute content evenly by stretching 'auto'-sized items to fit the container. |
u-align-items- |
flex-start |
Vertical alignment. The cross-start margin edges of the flex items are flushed with the cross-start edge of the line. |
flex-end |
Vertical alignment. The cross-end margin edges of the flex items are flushed with the cross-end edge of the line. |
start |
Vertical alignment. Pack items flush to each other toward the start edge of the alignment container in the appropriate axis. |
center |
Vertically align all items to the center of the div. |
end |
Vertical alignment. Pack items flush to each other toward the end edge of the alignment container in the appropriate axis. |
u-align-self- |
flex-start |
Vertical alignment of individual flex item. Flush the cross-start margin edges of the flex item with the cross-start edge of the line. |
flex-end |
Vertical alignment of individual flex item. Flush the cross-end margin edges of the flex item with the cross-end edge of the line. |
start |
Vertical alignment of individual flex item. Pack the item flush to the edge of the alignment container of the start side of the item, in the appropriate axis. |
center |
Vertically align individual flex item to the center of the div. |
end |
Vertical alignment of individual flex item. Pack the item flush to the edge of the alignment container of the end side of the item, in the appropriate axis. |
stretch |
Vertical alignment of individual flex item. Stretch flex item such that the cross-size of the item margin box is the same as the line while respecting widget and height constraints. |