CSS Property:

grid-auto-flow

Result:

1
2
3
4
5

CSS Code:

#myDiv {
                
grid-template-columns: auto auto auto;
grid-template-rows: auto auto auto;
display:grid;
grid-gap:20px;
}
Click the property values above to see the result
W3Docs.com-Play it
¿Te resulta útil?