CSS Property:
gap:

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