You can set flex-grow,
flex-shrink and flex-basis
with one single shorthand
flex property.
This can take one,
two or three values
separated by spaces:
flex-grow is 1
flex-shrink is 1
flex-basis is auto
Two values - Both without units
flex-grow is 0
flex-shrink is 1
flex-basis not specified
Two values - One without units and another with units
flex-grow is 0
flex-shrink is not specified
flex-basis is 100px
One value - Without units
flex-grow is 2
flex-shrink is not specified
flex-basis is not specified
flex-grow is not specified
flex-shrink is not specified
flex-basis is 50%