MainTitle.wxss
407 Bytes
.title {
font-weight: 500;
font-size: 36rpx;
color: #333333;
position: relative;
display: inline-block;
white-space: nowrap;
z-index: 0;
}
.title::after {
content: "";
display: block;
/* width: 144rpx; */
width: 100%;
height: 12rpx;
background-image: linear-gradient(90deg, #61a5ff00 0%, #2699fd 100%);
border-radius: 6rpx;
position: absolute;
bottom: 4rpx;
z-index: -1;
}