Answers for "how to use gradient as text color"

CSS
24

how to use gradient as text color

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(#eee, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Posted by: Guest on February-26-2020

Code answers related to "how to use gradient as text color"

Browse Popular Code Answers by Language