CSS Flex box _ everything you need to know about flex box - DEV Community
CSS Flex box _ everything you need to know about flex box - DEV Community
ii)Flex-wrap : This is also for parent element. It allow you to wrap the items and
prevent overflow.
iii)
Flex-flow : This is the shorthand for flex-direction and flex-wrap . The default
value is :
.container{
flex-flow: row nowrap;
}
vii) flex-shrink : Yes, you guessed right. This property aim is opposite to
flex-
grow . It shrinks or decrease the width of item in proportions to occupy the space.
viii) : This defines the default size of an element before distributing the
flex-basis
space among items. You can give fixed lengths like(100px, 20rem) or you can use
auto value. means take value from
auto property.
width and height
xi) flex : This is a shorthand for flex grow, flex shrink and flex basis .
flex: <flex-grow> <flex-shrink> flex-basis>;
x) align-self: This property allow to align item individually. You can set different
align position for each item.
So, that's it about flex box. I hope you understood each and everything. If you have
doubt or I missed some point let me know in the comments.
Thanks For reading.