CSS Grid Generator

Open Source

by CSS Grid Generator

Provided by CSS Grid Generator

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
13 hours ago
Developer
CSS Grid Generator
Official URL

Overview

CSS Grid Generator is a small web app by Sarah Drasner for building a CSS Grid layout without writing the code by hand. You set how many columns and rows you want and which units they use, and the page draws the grid for you.

You then drag across the boxes to mark out areas, and each area becomes a div placed on the grid. When you are happy with the layout, the tool gives you the matching CSS to copy into your own project.

The author built it for people who avoid Grid because it looks complicated, and says plainly that it covers only a fraction of what Grid can do. It is a quick starting point for page layouts rather than a full layout editor. The code is open source under the MIT licence, and the page needs JavaScript to work.

Features

  • Set the number of columns and rows for the grid
  • Choose the units used for column and row sizes
  • Drag across cells to create divs placed on the grid
  • Generates CSS Grid code for the layout you drew
  • Runs as a single page in the browser with nothing to install
  • Source code published on GitHub under the MIT licence

Privacy

See the official privacy policy. The tool is a single static page with no accounts, and no advertising or analytics scripts were present in the page HTML when checked.

Pros & Cons

Pros

  • Very quick way to get a working grid layout
  • Shows how grid placement works, which helps when learning
  • No account, no install and no cost
  • Open source, so you can run or change it yourself

Cons

  • Covers only basic Grid features, as the author notes
  • Does nothing without JavaScript enabled
  • Not a full page builder, so you still write the rest of the CSS and HTML yourself

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools