Text Gradient
Adds a gradient color effect to text.
- mixin
- gradient
- text
Code
@mixin text-gradient($from, $to) {
background: linear-gradient(to right, $from, $to);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}Adds a gradient color effect to text.
@mixin text-gradient($from, $to) {
background: linear-gradient(to right, $from, $to);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}