Build flexbox layouts visually. Tweak properties and get your CSS in seconds.
CSS Flexbox (Flexible Box Layout) is a one-dimensional layout model that lets you distribute space and align items in a container, even when their sizes are unknown or dynamic. It makes complex layouts straightforward without floats or positioning hacks.
Adjust the container properties (direction, wrap, justify-content, align-items, gap) using the controls on the left. Add or remove child items and tweak each child's flex, order, and align-self. Watch the live preview update instantly, then click "Copy CSS" to grab the generated code.
Yes! It's completely free and runs entirely in your browser. No sign-up, no server, no data sent anywhere.
justify-content aligns flex items along the main axis (horizontally when flex-direction is row). Options include flex-start, flex-end, center, space-between, space-around, and space-evenly.
align-items is set on the flex container and controls the default cross-axis alignment for all children. align-self is set on an individual child and overrides that default for just that item.