When a grid item becomes a grid, it is called a nested grid. You need to apply display: grid (or display: inline-grid ) to the grid item to create a nested grid.