title: Animate text fill from left to right
body: <p>I wanted to animate a the text fill with CSS. The Text should be filled with color from left to right.</p>
  
  <p>this is my CSS:</p>
  
  <pre><code>.box-with-text {
      background-image: -webkit-linear-gradient(right, crimson 50%, white 50%);
      background-repeat: repeat;
      background-position: 0 0;
      background-size: 200% 100%;
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
      -webkit-animation: stripes normal forwards ease-in-out;
      animation: stripes 2s normal forwards ease-in-out;
  }
  </code></pre>
  
  <p>Now only the first letter is color-filled.</p>
  
  <p><a href="https://jsfiddle.net/xta0x9w9/" rel="nofollow">here is the fiddle</a></p>