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