Skip to main content

Grid Settings

Preview

1
2
3
4
5
6
7
8
9

Generated CSS

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  justify-items: stretch;
  align-items: stretch;
}

What is CSS Grid Playground?

CSS Grid Playground is a free online tool that allows you to learn CSS Grid interactively. Create grid layouts with visual examples and real-time preview.

Features

  • Adjust columns and rows
  • Control gap between items
  • Set justify-items and align-items
  • Real-time preview
  • Copy generated CSS code

Frequently Asked Questions

Is this tool free to use?

Yes, CSS Grid Playground is completely free. No registration required.

Is my data secure?

All processing happens in your browser. Your data never leaves your device.