shuilinger

文字渐变:

HTML:

<h2 class="text-gradient">ABC</h2>

 

CSS:

.text-gradient{

  font-size: 10em;

  dipslay: inline-block;

  background-image: -webkit-gradient(linear,0 0,0 bottom,from(rgba(0, 128, 0, 1)),to(rgba(51, 51, 51, 1)));

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2021-12-27
  • 2021-12-22
  • 2021-12-22
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2021-06-03
  • 2022-02-28
  • 2022-12-23
  • 2022-02-19
  • 2021-12-04
  • 2021-12-04
  • 2022-02-19
相关资源
相似解决方案