The align-items Property

The "align-items: center;" aligns the flex items in the middle of the container:

1
2
3