搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How can I get gradient text in mozilla without using images and only by using css

  • 3 回覆
  • 11 有這個問題
  • 13 次檢視
  • 最近回覆由 cor-el

more options

just like we can achieve gradient text using the below css code background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eef109));

          -webkit-background-clip: text;

-webkit-text-fill-color: transparent;

just like we can achieve gradient text using the below css code background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eef109)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;

所有回覆 (3)

more options

由 cor-el 於 修改

more options

I just want to give a gradient color to my text in a div with no background color.How can I achieve it?

more options

由 cor-el 於 修改