Explain it in 60 seconds
How flex item sizes are resolved
Frontend Engineering · HTML and CSS · Experienced
How does the browser resolve flex item sizes using flex-grow, flex-shrink and flex-basis?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Start from flex-basis (or content size).
- Positive free space distributed by flex-grow ratios.
- Negative space removed by flex-shrink weighted by basis.
- min/max constraints and min-width auto.
- Explains surprising sizes.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.