6. All in one flex property #
Created Saturday 23 October 2021
Why #
Shorthand for flex-item property
How #
{
flex: 1 0 200px;
/* flex-grow, flex-shrink=0, flex-basis=0 */
}
grow, shrink and basis in one line. Using property flex.
NOTE: skip srhink, basis value - optional. Just keep the order.