Use the grid-gap property to specify the size of the gap between the rows, and between the columns.
This grid has a 20px gap between the rows, and a 50px gap between the columns: