select align center code example Example: option tag center .center-box { display: flex; align-items: center; justify-content: center; }