1. 6
    Proportionally Grow a Flexed Element by Setting `flex-grow` or `flex` Styles
    1m 2s

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

InstructorChris Achard

Share this video with your friends

Send Tweet

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.