Flexbox / Grid Playground
Experiment with CSS layout properties and copy the code
Flexbox Properties
flex-direction
flex-wrap
justify-content
align-items
gap12px
Items (6)
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Live Preview
1
2
3
4
5
6
Generated CSS
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: stretch;
gap: 12px;
}