CSS Grid Generator

Cell 1
Cell 2
Cell 3
Cell 4
Cell 5
Cell 6
Cell 7
Cell 8
Cell 9

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

.grid-item-1 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-2 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-3 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-4 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-5 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-6 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-7 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-8 {
  grid-column: span 1;
  grid-row: span 1;
}

.grid-item-9 {
  grid-column: span 1;
  grid-row: span 1;
}

Comments

No comments

There are no comments yet. Share your thoughts and experience with thousands of others!