How to make items center in a CSS?

display: flex;
flex-direction: column;
justify-content: center;

1 Like

//way2: make items center

margin:0px auto;