Skip to content
All Challenges
#37

Flex Grow Proportion

Medium
Category: Flexbox

Make .grow-item expand to fill all remaining available space inside the flex container.

Target HTML in preview:
<div style="display:flex;"><div class="fixed">Fixed</div><div class="grow-item">Takes Rest</div></div>
Verification Criteria:
Set flex-grow: 1 or flex: 1
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview