center contents of flex row code example
Example 1: center wrapped flex children
.container {
display: flex;
justify-content: space-around;
/* OR */
justify-content: space-evenly;
}
Example 2: how center content in css by using flex
display: flex;
width: 60%;
justify-content: center;
margin: 0 auto;