Amin Code Land


Flex Box

PropertyDescriptionOptionsResult
displaySpecifies the type of flex container for the flex items.
1
2
3
flex-directionDefines the direction of the main axis.
1
2
3
flex-wrapDetermines whether the flex items are forced into a single line or can be wrapped onto multiple lines.
1
2
3
4
5
flex-flowShorthand property for setting both the flex-direction and flex-wrap properties.
justify-contentAligns flex items along the main axis.
align-itemsAligns flex items along the cross axis.
align-contentAligns a flex containerĂ­s lines within when there is extra space in the cross-axis.
orderSpecifies the order of a flex item relative to the other flex items within the same container.
flex-growDetermines how much a flex item will grow relative to the rest of the flex items inside the same container.
flex-shrinkSpecifies the ability of a flex item to shrink if necessary.
flex-basisDefines the initial size of a flex item along the main axis before any available space is distributed.
flexShorthand property for setting the flex-grow, flex-shrink, and flex-basis properties.
align-selfAllows the default alignment to be overridden for individual flex items.