CSS Property:

grid

Result:

1
2
3
4
5
6

CSS Code:

#myDiv {
                
padding:30px;
background-color:#86C2DE;
text-align:center;
display:grid;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?