I'm trying to add a gradient to my text color so it would look something like this:

I tried using color property but it's not working.
Is it possible to make gradient colored text with CSS? if yes, then how do I do it?
.your_class_name {
width: 100%;
height: 100%;
background: linear-gradient(to right, #30CFFF 0%, #330867 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
I have tried following css and it worked for me. Hope this help!
Arihant
Non sticky pan to events π₯π³
Yes it is (only working in webkit based browsers )