Design CSS Grid layouts visually. Set rows, columns, gaps, and named areas — get clean, ready-to-use CSS instantly.
A CSS Grid is defined by grid-template-columns and grid-template-rows, each a space-separated list of track sizes. The fr unit distributes remaining space proportionally — 1fr 2fr gives the second column twice the width. The gap property sets spacing between tracks without adding outer margin. Named areas (grid-template-areas) let you place items semantically by string row definitions. This generator combines your inputs into the correct CSS syntax and maps each named cell to its grid-area declaration.
fr for flexible fractions of remaining space, px for fixed widths, auto for content-based sizing, and minmax(min, max) for responsive tracks. Mix units freely — the generator accepts any valid CSS grid track syntax.grid-template-areas and individual .item-* classes so children align exactly to your named regions.