Text Gradient

Updated:

Add gradient color to your text with CSS.

In the HTML file:

<p>Text <span>gradient</span> is amazing!</p>

In the CSS file:

span {
  font-size: 40px;

  /* Gradient effect */
  background-color: #3ddc84;
  background: linear-gradient(45deg, #3ddc84, #4285f4);
  background-size: 100%;
  background-repeat: repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
}