DESIGN TOOL
CSS Flexbox Generator
Build flexible layouts visually. Adjust container alignment, direction, wrapping and spacing, then copy the CSS.
Flex container settings
Try wrapping with several items to see how align-content affects multiple flex lines.
Live preview
1
2
3
4
5
Generated CSS
The generated declarations are for the flex container. Apply them to the parent element; its children become flex items.