CSS Flexbox Navbar — Logo Left, Links Right
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 flexbox generator preset to the classic navbar layout: justify-content set to space-between and align-items set to center. Put a logo in the first box and a row of nav links in the last one (or split the links across the middle boxes) and the flexbox container pushes them to opposite ends of the bar while keeping every item lined up on the same vertical center, no matter how tall the logo or the link text is.
space-between is what makes this work: it pins the first child to the start edge and the last child to the end edge, then spreads any remaining children evenly between them — exactly the left-logo, right-links shape almost every site header uses. align-items: center then solves the vertical alignment that used to need line-height hacks or table-cell display tricks.
Adjust the child count to match your real navbar — two boxes for a bare logo-and-CTA bar, more for logo plus several links — and watch the layout adapt live. Copy the CSS block once it matches your header, or open the space-between preset if you want to see that one property compared against its close relatives.