+ 10
How can I apply gradient to font?
I want some advice as on how gradient can be applied to font. I want my text to be multicolored.......đ
3 Answers
+ 10
h1 {
font-size: 72px;
background: -webkit-linear-gradient(red, blue);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
+ 6
thanks a lot it works.... but after that the text-shadow won't đđ
+ 2
Try
text-shadow: 4px 4px 4px black;