align element center vertical in css grid code example Example: vertical center item in grids align-items: center;