<span class="color-text">渐变颜色文字</span>
.color-text{
font-size: 20px;
font-weight: bold;
background: linear-gradient(267.91deg,#2a0061 9.35%,#ff7170 96.48%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}