Rows × cols
3 × 3
Template
repeat(3, 1fr)
Design Tools
Set column and row counts plus gaps to generate a basic display:grid layout. Preview the track structure, try quick templates, and copy CSS or HTML for admin layouts and card grids.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
设计配色
.grid {
display: grid;
} Rows × cols
3 × 3
Template
repeat(3, 1fr)
It focuses on basic track setup (often equal 1fr tracks). Complex grid-area maps still need hand-written CSS.
Tools
Continue with another translated tool for a nearby task.
Flexbox Generator
Tune flex-direction, justify-content, align-items, wrap, and gap with a live preview. Add or remove boxes to see wrapping and spacing, then copy the generated CSS (and HTML scaffold) into your project.