css grid last item center code example Example: grid center last row If you need that, think about flexbox instead of grid !