实现的效果:
css代码:
font-weight: 400;
font-size: 68px;
line-height: 99px;
text-align: center;
letter-spacing: 0.09em;
text-transform: uppercase;
background: linear-gradient(180deg, #000 0%, red 50%, pink 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;