📅  最后修改于: 2022-03-11 14:56:06.798000             🧑  作者: Mango
.gradient-text {
display:inline-block;
background: black;
background: linear-gradient(135deg,red 50%,blue 50%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}