A worked example, rendered from real sample data. Sign in to run the tool on your own input.
cols=1fr_2fr_1fr rows=auto gap=24px.grid {
display: grid;
grid-template-columns: 1fr_2fr_1fr;
grid-template-rows: auto;
gap: 24px;
}
Generate grid-template CSS with custom cols, rows, and gap. Part of the DevTools Surf developer suite. Browse more tools in the CSS collection.