# Flex shrink

*noun*

say it: **“FLEKS SHRINK”** **/flɛks ʃrɪŋk/**

A number that says how much a flex item gives up when there isn't enough room; 0 means it never gets smaller than its starting size.

## 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 */
```

## In a sentence

- “I set the logo's **flex-shrink** to 0, so on a phone the links get narrower but the logo stays whole.”

Level: Journeyman · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

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