Flexbox Playground
Experiment with flex container and item settings in a live preview, then copy generated CSS. Runs locally with no pasted CSS or HTML rendered; item count is limited to 8.
Container
0–200 px
120–600 px
1–8 items
Item settings
0–10
0–10
auto or 0–1000 px
Everything runs locally and nothing is stored. Numbers allow up to 3 decimals and 8 characters. The preview uses in-app boxes only; no pasted CSS or HTML is rendered.
Generated CSS
Preview
1
2
3
4
5