Web - Grow, Shrink, and Basis
📖 Read the lesson
Code Life
By Pierre Marsaa
Understanding Flexbox Item Properties
Once you've set up a flex container, you can control how individual flex items behave using three key properties:
flex-grow
,
flex-shrink
, and
flex-basis
.
These properties determine how flex items grow, shrink, and what their initial size should be.
Verify