title: I cannot get Rainbow Text to work. Am i doing something wrong here?
body: <p>So currently i am finishing a website via Codeanywhere for one of my college classes and i can't seem to get rainbow text to work with my code. </p>
  
  <p>I have attempted to work through this >> <a href="https://w3bits.com/rainbow-text/" rel="nofollow noreferrer">https://w3bits.com/rainbow-text/</a> 
  But with no successful outcomes being made.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>  @media only screen and (min-width: 1025px) {
    .navbar-item img {
      max-height: 50px;
    }
    .column {
      border-radius: 10px;
      box-shadow: 0px 1px 10px 3px black;
      margin-right: 20px;
      background-color: #201f20;
    }
    .rainbow-text {
      background-image: repeating-linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red, violet);
      text-align: center;
      background-size: 800% 800%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 24px;
      animation: rainbow 8s ease infinite;
    }
    @keyframes rainbow {
      0% {
        background-position: 0% 50%
      }
      50% {
        background-position: 100% 25%
      }
      100% {
        background-position: 0% 50%
      }
    }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="hero-body"&gt;
    &lt;div class="container has-text-centered"&gt;
      &lt;h1 class="title" style=""&gt;
        1st Level - Clearnet
      &lt;/h1&gt;
      &lt;hr style="background-color: grey; margin-bottom: 40px;"&gt;
      &lt;div class="column"&gt;
        &lt;a imageanchor="1"&gt;&lt;img align="right" src="../images/imagine.jpg" border="0"&gt;&lt;/a&gt;
        &lt;div class="ranbow-text"&gt;
          &lt;p class="subtitle"&gt;
            Imagine there is a large paragraph of text here
          &lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>So essentially i am attempting to get "imagine there is a large paragraph of text here" to be rainbow coloured. So far i have failed and now need help.</p>