CSS Layout Generators
Layout is where most CSS time goes. These tools cover the two modern layout systems, flexbox for one direction and grid for two, plus the common page patterns built on top of them: sidebars, holy grail, split screens, dashboards and card grids.
If you are not sure which to use, start with the Flexbox Generator for rows of items and the CSS Grid Generator for anything with both rows and columns. The pattern generators below give you a finished structure you can adjust.
Start here
Flexbox Generator
Flexbox lays out the children of a container along one line. You choose the direction of that line with flex-direction, and every other flex…
CSS Grid Generator
CSS grid works on rows and columns at the same time. You define tracks on the container, and children drop into the cells in order unless you place…
Grid Template Areas Generator
grid-template-areas lets you draw your layout as text. Each quoted string is a row, each word is a cell, and repeating a name across cells makes…
Holy Grail Layout Generator
The "holy grail" is a header, a footer, and three columns in between: left sidebar, main content, right sidebar. The center column should be fluid…
More tools in this category (20)
Flexbox Playground
Interactive flexbox playground
Subgrid Generator
Create subgrid layouts
Masonry Layout Generator
Generate masonry/pinterest-style layouts
Multi-column Layout Generator
Create multi-column layouts
Float Layout Generator
Generate float-based layouts
Sticky Layout Generator
Generate sticky positioning layouts
Responsive Layout Generator
Create responsive layouts
Full-page Layout Generator
Generate full-page layouts
Sidebar Layout Generator
Create sidebar layouts
Header-Footer Layout Generator
Generate header and footer layouts
Split Screen Layout Generator
Create split screen layouts
Equal Height Columns Generator
Generate equal height column layouts
Card Layout Generator
Create card-based layouts
Media Object Layout Generator
Generate media object layouts
CSS Container Queries Generator
Create container query layouts
CSS Logical Properties Layout Generator
Create logical properties layouts
Dashboard Layout Generator
Generate dashboard layouts
Blog Layout Generator
Create blog layouts
Landing Page Layout Generator
Generate landing page layouts
E-commerce Layout Generator
Create e-commerce layouts