<div class="col-xs-2" style="height: 214px;display: table;">
  <ul style="display: table-cell;vertical-align: middle;">
    <li style="text-align: center">
      <button type="button" id="buttonAdd" class="btn btn-info">添加</button>
    </li>
    <li>&nbsp;</li>
    <li style="text-align: center">
      <button type="button" id="buttonDel" class="btn btn-info">删除</button>
    </li>
  </ul>
</div>

 DIV垂直居中
 

相关文章:

  • 2022-01-05
  • 2021-04-03
  • 2021-07-08
  • 2021-05-18
  • 2022-02-17
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-01-09
  • 2021-05-17
相关资源
相似解决方案