CSS Grid Generator
Preview grid tracks, gaps and tile placement, then copy the CSS and matching HTML.
Grid Progress
Grid Presets
JSON Preset Example
{"columns":3,"rows":2,"rowGap":8,"columnGap":16,"tiles":6}
Two optional modes are fixed and auto-fit. Settings you omit use their defaults. JSON presets can use up to 4 KiB.
Layout Settings
Tile Placement
Tiles flow left to right in HTML order. Give Tile 1 a larger span in a fixed grid.