make last grid in middle code example Example: grid center last row If you need that, think about flexbox instead of grid !