span:nth-child(2) {
/* 为了兼容性,添加一个旧的浏览器不支持渐变的正常颜色 */
background: -webkit-linear-gradient(-60deg, #0057E7 0%, #0093CA 61%, #05C397 100%);
background: linear-gradient(-60deg, #0057E7 0%, #0093CA 55%, #05C397 100%);
/** 将背景颜色设置在文字中 **/
-webkit-background-clip: text;
background-clip: text;
/** 字体颜色设置透明 **/
-webkit-text-fill-color: transparent;
}
11-23
10-14
8499
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-23
358
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-03
620
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-02
192
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-19
3971
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-24
3114
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-07