Check out example codes for "css grid gap". It will help you in understanding the concepts better.

Code Example 1

.grid-container {
	grid-gap: 50px;
}

Code Example 2

.grid-container {
	gap: 8px;
}

Learn ReactJs, React Native from akashmittal.com