Skip to main content
忆云竹

CSS Flexbox layout generator

Explore flex direction, wrapping, spacing and alignment in a live layout, with ready-to-copy CSS and HTML.

flex-direction
flex-wrap

Preview

Output format

    
Processed in this browser. Nothing is uploaded or saved.

About this tool

Explore flex direction, wrapping, spacing and alignment in a live layout, with ready-to-copy CSS and HTML.

How to use

Choose direction, wrapping, main-axis distribution and cross-axis alignment. Adjust the gap and number of items, then vary the preview width to see how wrapping changes. Switch between CSS and HTML to copy or download both parts.

The preview uses the same flex properties as the output. Items start with a 100 px basis and an 80 px minimum height; customize these for your content. Supports up to 48 items and gaps from 0 to 80 px. Preview width is not included in the exported CSS.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.