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