5. Flexbox Properties
● Treats .flex-container as a flex container.
● Treats all direct children of .flex-container as flex items.
● Flex items will be laid out in a horizontal line.
● Flex items will be laid out in source order.
● Flex items will be laid out starting from the left side of the
flex container.
.flex-container {
display: flex;
}
7. Properties apply to container
#2 Justify-content
Justify-content controls how you align items on the
main axis.
● Flex-start
● Flex-end
● Center
● Space-between
● Space-around
8. Properties apply to container
#3 Align-item
Align-item controls how you align items on the cross axis.● flex-start
● flex-end
● center
● stretch
● baseline***
9. Properties apply to items
#1 Flex-basis
Flex-basis controls the default size of an element, before it is manipulated by other Flexbox properties