How to align items using grid code example
Example 1: css grid align
.grid {
display: grid;
align-items: center; /* left and right */
justify-content: center; /* up and down */
}
Example 2: align grid items with end
display: grid;
align-items: end;