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?
2 Antworten
+ 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
0
Okay, it works ...thank's