CSS Gradient Text

Thomas Mak wrote at 2020-12-05.

#css

Key points to use CSS Gradient Text.


h1 a {
  background-image: linear-gradient(to bottom right, yellow, red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  // text-fill-color: transparent;
}

https://codepen.io/makzan/pen/zYYObbK

Comments

no comments yet.