<style typpe="text/css">
.test{
display: inline-block;
width: 5rem;
height: 5rem;
text-align: center;
color: #FFF;
background: #F00;
line-height: 5rem;
}
</style>
<a href="" class="test"><i class="iconfont icon-setting"></i></a>
为什么字体图标不是垂直居中的
字体源文件里面是居中的