+ 5
how to make gradient in text in html?
8 Answers
+ 2
unable to give more than 2 colors
+ 2
it is taking only 2 colors at a time
+ 1
Here's 2 types of gradient in CSS:
https://code.sololearn.com/Ws8U1iGb5hdh/?ref=app
+ 1
As instance:
p{
font-size: 85px;
background: -webkit-linear-gradient(#bbb, #789);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
Something like thisāŗ
0
also go to
http://nicewebtype.com and find there "pure css text gradient (no png's)"
- 1
@Alex I think he meant only text, no bg
- 1
yes infinity numbers
- 1
linear-gradient?! no, it takes anything amount of colors