grid align vertical center code example
Example 1: place item center in css using grid
.parent-element {
display: grid;
place-items: center;
}
Example 2: vertical center item in grids
align-items: center;
.parent-element {
display: grid;
place-items: center;
}
align-items: center;