📜  带有 css 代码示例的彩虹文本

📅  最后修改于: 2022-03-11 14:47:48.058000             🧑  作者: Mango

代码示例2
.rainbow-text {
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  color: transparent;
}