Day 14. Rounding Up The Flexbox Course
October 16, 2019
Notes
flex-grow
specifies how much of the space left an item occupies when all items have occupied their specified size. Default value is0
;flex-shrink
specifies how a flex item behaves when there’s not enough space left in the parent container. Default value is1
;flex-basis
specifies the actual width of a flex item. Default value isauto
;- The short hand for
flex-grow
,flex-shrink
andflex-basis
isflex
. The default value isflex: 0 1 auto
. - For a flex container to wrap, we have to give it the width by
flex-basis
.