Assistant

Alexonic Assistant

Online

Assistant
Hi! 👋 I'm Alexonic Assistant. Ask me about any tool on this site, and I can also search our blog articles for you.

AI can make mistakes · Please double-check

CSS Grid Playground

Build CSS grid layouts visually

Tune grid tracks, gaps, item alignment, and content distribution while the preview and generated CSS update instantly.

Live previewGrid alignmentCopy CSS
Generated CSS
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 72px);
  gap: 12px;
  justify-items: stretch;
  align-items: stretch;
  justify-content: start;
  align-content: start;
}
Controls
justify-content and align-content are easiest to see when the grid tracks are smaller than the preview container.
Live preview
1
2
3
4
5
6
Generated CSS
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 72px);
  gap: 12px;
  justify-items: stretch;
  align-items: stretch;
  justify-content: start;
  align-content: start;
}

You might also like

Related tools

Help & answers

Frequently Asked Questions

Important disclaimer: Alexonic Tools is completely free to use. There is no charge, and we do not save tool inputs or generated results. We value customer privacy and keep building and fixing each day. Always verify important financial, payroll, legal, tax, business, or production-code results before relying on them. If you see an issue, need a tool, or require an update, send feedback to the developer.