Equal-Width Flexbox Columns — CSS Generator
Build a CSS flexbox layout visually: flex-direction, justify-content, align-items, flex-wrap and gap on the container, plus per-child flex-grow, flex-shrink and flex-basis, all with a live preview and copyable CSS.
Result
This page opens the generator with flex-grow: 1 already set on all three preview boxes. Watch them: instead of shrinking to fit their content, every box claims an identical share of the leftover space in the row, which is the whole recipe for equal-width flexible columns — no percentage widths, no calc(), no fixed pixel math to keep in sync.
flex-grow: 1 tells a child to grow, and setting it on every child in the row means they all grow by the same amount, so they end up the same width regardless of how many there are or what content sits inside them. Add or remove a box with the controls below and the remaining columns instantly redistribute to stay equal — resize a browser window over this layout in production and it behaves the same way.
This is the pattern behind equal-height card grids, pricing-table columns and evenly split footer sections. Give one column more room by raising its flex-grow above the others, or copy the CSS block below exactly as generated for a clean equal split.