Course lesson

Proportionally Grow a Flexed Element by Setting `flex-grow` or `flex` Styles

To stretch individual elements to fit the given space, we can set the flex-grow or flex attributes to any integer. Other surrounding elements will grow proportionally to their flex-grow or flex attributes.

Duration
1 min
Access
Free
Transcript
Available

To stretch individual elements to fit the given space, we can set the flex-grow or flex attributes to any integer. Other surrounding elements will grow proportionally to their flex-grow or flex attributes.