How to use it
- 1
Choose flex-direction.
- 2
Tune justify-content, align-items, gap, and wrap.
- 3
Copy the CSS declaration block.
What the tool can do
- Core flex-direction values.
- Core justify-content and align-items values.
- Gap within the allowed range and a flex-wrap toggle.
Common use cases
- Basic setup for a toolbar, card row, or navigation group.
- Comparing alignment values before implementation.
- Capturing a container declaration for UI kit documentation.
How it works inside
The output is limited to container-level declarations.
Gap is limited to 0–64 px for compact, predictable CSS.
Questions and answers
How can I centre items or distribute space between them?
Choose direction, alignment, and gaps. Check the sample result and copy the CSS for the parent container. Test your own item content and sizes on the actual page.
What should I do when items do not fit in one row?
Check wrapping and the available container width. The generator sets container rules; individual item widths, shrinking, and growing are configured separately. Use the preview as a starting point, then test real content.
