CSS Property:

justify-content

Result:

1
2
3
4

CSS Code:

#myDiv {
                
display:flex;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?