QuickSnip LogoA light blue logo with a thunderbolt in bracketsQuickSnip

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;
}