CSS Flexbox Generator
Choose direction, wrapping, justification and alignment, see five boxes react instantly, and copy the CSS.
1
2
3
4
5
Result
- Properties
- —
How it works
- Every common value for
flex-direction,flex-wrap,justify-content,align-itemsandalign-contentis available. - The preview container has a fixed height and five numbered items so the alignment differences are obvious.
- Only the properties you actually set are written out, so the CSS stays minimal.