CSS Property:

grid-template-rows

Result:

1
2
3
4
5
6

CSS Code:

#myDiv {
                
padding:20px;
display:grid;
grid-gap:15px;
text-align:center;
grid-template-columns: auto auto auto;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?