# Flex shrink

How much a flex item shrinks when space is short.

## What does `flex-shrink` do?

`flex-shrink` says how much an item gives up when there isn't enough room. `0` means "don't shrink".

```css
.logo { flex-shrink: 0; }   /* the logo never gets squashed */
```

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/flex-shrink
