Answers for "how to give text two colors in css"

CSS
0

how to give text two colors in css

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(green, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Posted by: Guest on August-28-2021

Code answers related to "how to give text two colors in css"

Browse Popular Code Answers by Language