We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 replies
  • 11 have this problem
  • 13 views
  • Last reply by 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;

All Replies (3)

more options

Modified by 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

Modified by cor-el