Murelio

Loading the features you need.

CSS Grid Generator

Generate a basic CSS Grid container from column count, row count, and gap.

How to use

  1. Adjust columns, rows, and gap in pixels.

Capabilities and scope

Columns use repeat(columns,minmax(0,1fr)); rows use repeat(rows,minmax(64px,auto)), with a live sample.

How it works

The output combines display:grid, both grid-template declarations, and gap.

Example

4 columns, 2 rows, and 16px gap produces a 4×2 preview and matching CSS.

Useful for

  • Scaffold an equal-column grid quickly

Before you use it

  • Named areas, auto-fit breakpoints, and per-item placement are not generated.

Frequently asked questions

Does it support responsive auto-fit?

No. The current generator uses explicit repeat counts.

Related tools