0

About text color css

Can we fill color text with linear gradient?. If can, please give example Or in another question, how to fill text color with any colors?

13th Feb 2019, 4:11 AM
Marhaen
Marhaen - avatar
2 odpowiedzi
+ 5
https://code.sololearn.com/W7z14W5a13i5/?ref=app .fillColor{ color:white; } .gradientText{ background:linear-gradient(90deg,yellow,orange); -webkit-background-clip:text; color:transparent; } Supplements : Not for IE "Firefox, Chrome and Safari support the unofficial -webkit-background-clip: text (only with prefix)" https://caniuse.com/#search=Background-clip
13th Feb 2019, 4:38 AM
Gordon
Gordon - avatar
0
Okay, it works ...thank's
13th Feb 2019, 4:41 AM
Marhaen
Marhaen - avatar