How do I use a gradient as a font color in CSS?

前端 未结 4 380
一生所求
一生所求 2020-12-14 18:58

How do I use a gradient as a font color in CSS, without using images? I want to support Firefox.

I have used this code but it\'s not supported in Firefox:

         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 20:00

    You can use this generator textgradient.com to do CSS gradient texts.

提交回复
热议问题