小程序 text标签内的文字竖着排列
html:
<view><text>活动规则</text></view>
css:
view {
height: 135rpx;
width: 50rpx;
display: flex; // 让文字居中
justify-content: center;
align-items: center;
}
.rightAdsorbent text {
writing-mode:vertical-rl; // 文字竖行排列
font-size: 26rpx;
color: #fff;
}