CSS Flexbox Generator
Build flex layouts visually and copy the code.
Start with a preset
Or set every option below.
Preview
Select an item to edit it
The preview box has a fixed height. Items are at least 64 × 48 px.
Generated code
Copy and paste directly into your project.
Comments
Share feedback, ask questions, or help others use this tool.
Join the discussion
Sign in to comment, reply, and report inappropriate content.