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