About
A layout is a decision about space
Last updated 20 November 2026
Somebody has to decide which part of the window belongs to the sidebar and which part belongs to the document. This page lets you make that decision by hand, then writes it down in the language the browser already speaks.
Two models, one page
Grid places items on rows and columns that you define. Flexbox places items along one line and lets their size decide how they wrap. They answer different questions, so the studio keeps them apart: the mode switch changes the controls, the preview and the export together, and the two models never appear in the same stylesheet.
Spans are rectangles
A cell in this builder is a rectangle on the track map. Widening a span over a neighbour removes that neighbour from the map, narrowing it leaves a free square, and the square becomes a new cell. The map is the truth, and both the preview and the export are drawn from it, so a layout that looks tiled in the studio is tiled in the file.
The export is the preview
The preview is not a picture of the export. The page applies the same property list that the export writes, in the same order, to the same kind of element. If a value looks wrong in the frame, it is wrong in the file, and the code pane will say so.
What it leaves to you
- One layout, not a responsive set. A media query that changes the tracks at 760px is yours to add, and the export does not pretend to have written it.
- One size per track.
repeat(12, 1fr)is written out as twelve inputs, because the builder counts tracks to place cells. - No nesting. Every cell is a plain box; a grid inside a cell is a second layout, and it deserves its own pass through the studio.
- No
calc()in a track. The accepted sizes are1fr, px, rem, em, %, vw, vh, ch,auto,min-content,max-content,minmax()andfit-content().
Who made it
Pikkola Lab builds small tools that keep the work in the browser. This is tool No. 48. Write to hello@pikkola.com with a layout that did not come out the way you expected, and say which browser you used.