Grid Basics

Create grid layouts with columns and gaps

CSS Grid divides a container into columns. Change the column count and gap to reorganize items.

Columns
Gapgap-3
1
2
3
4
5
6
7
8
9
Tailwind CSS
<div class="grid grid-cols-3 gap-3">
  <!-- 9 items -->
</div>