.item1{
width: 412px;
height:30px;
background-color: #F2F6F9;
margin-top: 30px;
text-align:center;
line-height:30px;
}
注意:设置文本垂直居中必须要设置行高(line-height:10px;)
微信扫一扫
.item1{
width: 412px;
height:30px;
background-color: #F2F6F9;
margin-top: 30px;
text-align:center;
line-height:30px;
}
注意:设置文本垂直居中必须要设置行高(line-height:10px;)
相关推荐