I'm trying to use a text gradient, and it works on Chrome & Safari but on Android it applies the gradient to the content rather than the text (so instead of seeing text with a gradient, you see a box with a gradient — not ideal, especially since the text is important).
Here's my SASS mixin:
@mixin text-gradient($from : #2bd2f2, $to : #218bb2) {
text-shadow: none;
background: -webkit-gradient(linear, left top, left bottom, from($from), to($to));
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
Any idea as to why this doesn't work?
Thanks!