title: How do I use the animation-iteration-count parameter to stop this animation from repeating?
body: <p>Right now I'm using a really long fade out time to give the impression that the element is gone, but know there is a better (and simpler) way to do this.</p>
  <p>I want the animation to complete, then leave the text completely faded out.</p>
  <p>I attempted to use the animation-iteration-count property, but don't think I put it in the right place.</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>.gZFNLC {
    animation: fadeOut 100s;
    -webkit-animation: fadeOut 100s;
    -moz-animation: fadeOut 100s;
    -o-animation: fadeOut 100s;
    -ms-animation: fadeOut 100s;
  }
  @keyframes fadeOut {
    0% {opacity:1;}
    3% {opacity:1;}
    4% {opacity:0;}
    100% {opacity:0;}
  }
  
  @-moz-keyframes fadeOut {
    0% {opacity:1;}
    3% {opacity:1;}
    4% {opacity:0;}
    100% {opacity:0;}
  }
  
  @-webkit-keyframes fadeOut {
    0% {opacity:1;}
    3% {opacity:1;}
    4% {opacity:0;}
    100% {opacity:0;}
  }
  
  @-o-keyframes fadeOut {
    0% {opacity:1;}
    3% {opacity:1;}
    4% {opacity:0;}
    100% {opacity:0;}
  }
  
  @-ms-keyframes fadeOut {
    0% {opacity:1;}
    3% {opacity:1;}
    4% {opacity:0;}
    100% {opacity:0;}
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="gZFNLC"&gt;Image&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>