Skip to content

Understand flexbox by changing it and watching

Toggle align, justify, wrap, direction, and gap on a live container and copy the CSS.
flex-direction
flex-wrap
justify-content
align-items
gap8px
items5
1
2
3
4
5
display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: 8px;

About this tool

How to use it

  1. Toggle each flex property — direction, wrap, align-items, justify-content — on the live container.
  2. The CSS output updates instantly.
  3. Copy the flexbox CSS.

Why it lives here

Everything runs in your browser. No account, no ads, no tracking, and no upload.

Tagged with

flexboxcss layoutflex designers

related tools