CSS Property:
grid-gap:

Result:
1
2
3
4
5
6
CSS Code:
#myDIV {
grid-gap: 10px;
}
Click the property values above to see the result
W3Schools.com - Play it