.demo {
width: 100rpx;
height: 100rpx;
text-align: center;
// 行高设置成height 一样
line-height: 100rpx;
}
微信小程序——文本居中的方法
最新推荐文章于 2023-07-28 17:44:30 发布
.demo {
width: 100rpx;
height: 100rpx;
text-align: center;
// 行高设置成height 一样
line-height: 100rpx;
}