Platzieren Sie das Item Center in CSS mit Gitter
.parent-element {
display: grid;
place-items: center;
}
Tired Tapir
.parent-element {
display: grid;
place-items: center;
}
div {
display: inline-grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 3px;
justify-items: center;
align-items: center;
}