only one item show in the center in grid css code example
Example: place item center in css using grid
.parent-element {
display: grid;
place-items: center;
}
.parent-element {
display: grid;
place-items: center;
}