grid 2 rows aigning right code example
Example 1: place item center in css using grid
.parent-element {
display: grid;
place-items: center;
}
Example 2: css grid align
.grid {
display: grid;
align-items: center; /* left and right */
justify-content: center; /* up and down */
}