CSS Property:

grid-column-gap

Result:

1
2
3
4
5
6

CSS Code:

#myDiv {
                
padding:20px;
text-align:center;
display:grid;
grid-gap:15px;
grid-template-columns: auto auto auto auto;
background-color:#86C2DE;
}
Click the property values above to see the result
W3Docs.com-Play it
Trouvez-vous cela utile?