📜  为文本颜色添加渐变 - CSS 代码示例

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

代码示例4
h1 {
  font-size: 72px;
  background-image: linear-gradient(
    110deg,
    #463f64,
    #463f64,
    #e2285c
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}