+ 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.......😊

8th Jul 2019, 4:05 AM
Aditya
Aditya - avatar
3 Respuestas
+ 10
h1 { font-size: 72px; background: -webkit-linear-gradient(red, blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
8th Jul 2019, 5:18 AM
Chris Coder
Chris Coder - avatar
+ 6
thanks a lot it works.... but after that the text-shadow won't 😂😂
8th Jul 2019, 5:29 AM
Aditya
Aditya - avatar
+ 2
Try text-shadow: 4px 4px 4px black;
8th Jul 2019, 10:19 PM
Chris Coder
Chris Coder - avatar