make grid's last child center aligned css code example
Example 1: css grid align
.grid {
display: grid;
align-items: center; /* left and right */
justify-content: center; /* up and down */
}
Example 2: grid center last row
If you need that, think about flexbox instead of grid !