1.字体居中:(左右上下居中)
text-align:center;
line-height:60rpx;
height:60rpx;
2.多列并排:
.type{
display: flex;
flex-direction: row;
width:100%;
margin: 0 auto;
}
.type div{
margin:0 auto;
}
或:
.type{
display: flex;
flex-direction: row;
}
.type div{
flex:1;
text-align:center;
}