how to align items in flexbox code example
Example 1: how to align a flex container center
.table-wrapper {
display: flex;
flex-direction: column;
padding: 2rem;
margin: 0 auto;
}
Example 2: flex align children to side
flex-direction: column;
align-items: flex-start; //left
align-items: center; //center
align-items: flex-end; //right
Example 3: flex box align items
.container {
justify-items: center;
}