Rusty Kite
FreeLayout & CSSWeb tool

Flexbox Playground

Experiment with every Flexbox container property and see the result instantly. Change direction, alignment, wrapping and gap, then copy production-ready CSS.

Open the tool
  • Runs in your browser
  • Nothing uploaded
  • Free, no signup
Flexbox Playground preview
Flexbox Playground screenshot
Live tool
1
2
3
Generated CSS
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
flex-wrap: nowrap;
align-content: normal;

How to use the Flexbox Playground

  1. Pick a flex-direction and wrapping mode.
  2. Adjust justify-content, align-items and gap until the layout fits.
  3. Copy the generated CSS into your stylesheet.

Frequently asked questions

What is the difference between justify-content and align-items?

justify-content aligns items along the main axis, align-items along the cross axis. Which is horizontal depends on flex-direction.

Does it work offline?

Yes. Once the page has loaded, all logic runs locally in your browser.

PriceFree
CategoryLayout & CSS
Works inAny modern browser, on desktop or mobile
PrivacyRuns locally. Your input is never sent to us.

Found a problem? Tell us.

Reports with a screenshot get fixed fastest.

Report a bug

Tell us what went wrong. A screenshot helps a lot. We read every report.

Screenshot (optional)
Drop an image, paste one (Ctrl+V), or click to choosePNG, JPG, WebP or GIF, up to 4 MB

We also receive the page address and your browser version so we can reproduce the problem. Nothing else is collected.