Rusty Kite
FreeLayout & CSSWeb tool

CSS Grid Builder

Define columns and rows, set gaps and track sizes, and watch the grid update live. Ideal for learning grid-template syntax or prototyping a page layout.

Open the tool
  • Runs in your browser
  • Nothing uploaded
  • Free, no signup
CSS Grid Builder preview
CSS Grid Builder screenshot
Live tool

                

How to use the CSS Grid Builder

  1. Set the number of columns and rows.
  2. Edit track sizes using fr, px, % or minmax().
  3. Copy the grid-template CSS.

Frequently asked questions

What does the fr unit mean?

fr is a fraction of the free space in the grid container after fixed tracks and gaps are subtracted.

Can I use minmax()?

Yes. Enter values such as minmax(120px, 1fr) in any track field.

PriceFree
CategoryLayout & CSS
Works inAny modern browser, on desktop or mobile
PrivacyRuns locally. Your input is never sent to us.

Found a problem? Tell us.

Reports with a screenshot get fixed fastest.

Report a bug

Tell us what went wrong. A screenshot helps a lot. We read every report.

Screenshot (optional)
Drop an image, paste one (Ctrl+V), or click to choosePNG, JPG, WebP or GIF, up to 4 MB

We also receive the page address and your browser version so we can reproduce the problem. Nothing else is collected.