1
2
3
4
5
6
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 8px;
justify-items: stretch;
align-items: stretch;
}Visual CSS Grid generator. Adjust columns, rows, gap, and alignment with live preview of your grid layout.