JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">

<span class="gradient">This is the span.</span>
</div>

CSS

.container {
  background-color: black
}
.gradient {
    font-size: 35px;
    font-weight: bold;
    background: linear-gradient(to right, #007CF0, #00bFc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}