A flex row lays out siblings on its main axis. The children's minimum sizes determine how gracefully the row shrinks.
Worked example
<style>
.demo {
display: flex;
gap: 0.5rem;
}
</style>
<div class="demo">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>Implementation notes
An intrinsic minimum can stop flex items from yielding space. Allow shrinking on the label while protecting controls that need a usable hit area.
Try it yourself
Add a long unbroken identifier and reduce the container width.
Open the CSS example →Editorial date July 1, 2025 · Published December 6, 2026