Your layout stays in this browser. This page does not upload a file or post the generated CSS to a server.

Zero-upload layout studio

Visual CSS Grid & Flexbox Layout Studio

Switch Grid or Flexbox, load one of eight production templates, edit tracks, gap, and alignment, then paint named areas or tune a selected flex item. The desk updates a live preview and ready-to-paste CSS, HTML, and Tailwind.

The studio needs JavaScript in this browser. Without it, you can still read the guide and the cheatsheet, but the live preview will not run.

Production templates

Column tracks
Row tracks

Click cells in the preview to paint or merge the selected area. Only a solid rectangle is written into grid-template-areas.

Live preview

Generated code


          
Named areas and flex items in the current layout
Name Shape Status

Questions

Does this studio upload my layout?

No. The preview and the CSS, HTML, and Tailwind output run in this browser. The page does not post your layout to a server.

Why must a named area be a rectangle?

CSS grid-template-areas rejects L-shapes and disconnected cells. The desk lets you see a broken paint in the preview, then emits a dot for that name until the cells form a solid rectangle.

What is in the Tailwind tab?

Ready-to-paste utility classes for the current Grid or Flexbox state. Custom tracks use arbitrary bracket values so the lengths stay exact.

What do the viewport buttons change?

They constrain the live preview to the full pane, 768px, or 375px so you can judge a stack. The copied CSS also includes a 768px media-query hint.

Related desks

Other zero-upload jmforu.com desks that sit next to a front-end layout workflow.