how to center a css grid vertically and horizontally code example
Example: place item center in css using grid
.parent-element {
display: grid;
place-items: center;
}
.parent-element {
display: grid;
place-items: center;
}