how to add items to center with align flex code example
Example 1: how center content in css by using flex
display: flex;
width: 60%;
justify-content: center;
margin: 0 auto;
Example 2: how to align a flex container center
.table-wrapper {
display: flex;
flex-direction: column;
padding: 2rem;
margin: 0 auto;
}