Flex Shorthand Notation
In this lesson, we will look at how the flex CSS property gives us a compact way to control the flex-grow, flex-shrink, and flex-basis values in one rule.
We'll cover the following...
Flex
The flex
property is a shorthand notation for specifying the flex-grow
, flex-shrink
, and flex-basis
properties in one rule.
The format of flex
looks as follows: