align-items property gets applied to all the grid items inside the container
along the column or Y-axis.
Let's look at some examples for align-items
property with all possible values
start
, end
, center
and stretch
.
align-items: start aligns the grid items with the start edge of its own
cell.
align-items: end aligns the grid with the end edge of its own cell.
align-items: center aligns the grid to the center of its own cell.
align-items: stretch (Default) this occupies the whole height of the
cell.