css flex to align content code example
Example 1: how center content in css by using flex
display: flex;
width: 60%;
justify-content: center;
margin: 0 auto;
Example 2: flex box align items
.container {
justify-items: center;
}
display: flex;
width: 60%;
justify-content: center;
margin: 0 auto;
.container {
justify-items: center;
}