The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Using flex-shrink and flex-grow to make flexbox children resize correctly

Using flex-shrink and flex-grow to make flexbox children resize correctly

2:36
Flex-basis lets us set the ideal dimensions for a flexbox child, but flex-shrink lets us define what should happen if there isn't enough room, and flex-grow can define what happens when there is too much room.
Watch this lesson now
Avatar
egghead.io

Flex-basis lets us set the ideal dimensions for a flexbox child, but flex-shrink lets us define what should happen if there isn't enough room, and flex-grow can define what happens when there is too much room.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?