采用如下方式可解决首先是外层:text-align: center;display: table;之后里面的i元素:vertical-align: middle;display: table-cell;