The justify-content and align-content properties align the grid. The justify-self, justify-items, align-self and align-items properties align the grid items.