flex-shrink

The flexbox property that says how much an item gives up when items are too big for the container, weighted by each item's base size.

In more detail

Each item's share of the overflow is its shrink factor times its flex-basis, divided by the sum of those products. Setting flex-shrink: 0 stops important items, such as a sidebar or logo, from being squashed.

Related terms

Taught in

References