To add gaps between both rows and columns, we use the gap shorthand. gap: 5px 10px means we add 5px between rows and 10px between columns.
gap
gap: 5px 10px
5px
10px
Make sure to pick gap, followed by 5px, and finally 10px.