It sizes the item based on its content and size, but makes it flexible so that they fill any extra space. Shorthand class .flex-fill
1. Lorem ipsum dolor sit amet
2. Lorem ipsum
3. Lorem ipsum dolor sit amet, consectetur adipiscing elit
Equal
Allow flex item to share equal space. Use shorthand class .flex-equal
1. Lorem ipsum dolor sit amet
2. Lorem ipsum
3. Lorem ipsum dolor sit amet, consectetur adipiscing elit
Grow
Allow flex item to to grow and consume maximum space. Use shorthand class .flex-grow-1
Block 1
Block 2
Block 3
Don't Grow
Prevent flex item to to grow. Use shorthand class .flex-grow-0
Block 1
Block 2
Block 3
Shrink
.flex-shrink-0 Prevents flex item to shrink. And .flex-shrink-1 Allow flex item to shrink and consume minimum space. This is the default behavior of flex item.
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet, consectetur adipiscing elit