text-color: linear-gradient(...)

Category: Invalid CSS

Published at:

text-color: linear-gradient(...)

The text-color: linear-gradient(...) adds linear gradient color to the text. This way, we could avoid awkward prefixed solutions that we have to use today

background-image: linear-gradient(90deg, #ff7e5f, #feb47b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;