
layouts
CSS Grid Generator
Visually build CSS grid layouts and export production-ready code.
#grid#layout#responsive
Interactively configure every CSS flexbox property. Set flex-direction, wrap behaviour, justify-content, align-items, and gap on the container. Click any item to adjust its flex-grow, flex-shrink, and flex-basis individually. The live preview and CSS output update in real time.
Live Preview
Click a box to select it and edit its flex properties below.
Container
flex-direction
flex-wrap
justify-content
align-items
Items (3/6)
Use the button groups to set flex-direction, flex-wrap, justify-content, and align-items on your container.
Drag the gap slider to set spacing between flex items in the container.
Click any numbered box in the preview (or in the items list) to select it and adjust its flex-grow, flex-shrink, and flex-basis.
Hit Copy CSS to get the complete flexbox declarations for your container and items.
From our directory of 30+ CSS tools.
Know a great CSS tool?
Submit it to the directory and help developers discover it.