Flexbox Shorthand Builder
Build a validated CSS flex grow/shrink/basis declaration.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Flexbox Shorthand Builder
Fill in the fields:
- Flex grow: 0 to 100.
- Flex shrink: 0 to 100.
- Flex basis. Use auto, content, 0, or a non-negative px, %, or rem value.
Press “Build flex shorthand”.
Copy the css source, or download it as flex.css.

