This lesson introduces the flex-grow, flex-shrink and flex-basis properties in CSS Flexbox, with a linked CodePen to try them. It suits people learning web layout for the first time.
What you’ll learn
✓Use flex-grow to share extra space between flex items
✓Use flex-shrink to control how items shrink when space is tight
✓Set a starting size for flex items with flex-basis