# Flex shorthand

*noun*

say it: **“FLEKS SHORT-hand”** **/flɛks ˈʃɔrthænd/**

The flex property, which sets an item's grow, shrink and starting size in one line, such as flex: 1 for 'share the space equally.'

## What is the `flex` shorthand?

`flex` sets `flex-grow`, `flex-shrink` and `flex-basis` in one go. `flex: 1` means "share the space equally".

```css
.pricing-plan { flex: 1; }   /* three plans, equal widths */
```

## In a sentence

- “Writing **flex**: 1 on all three columns made them the same width.”

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-shorthand
