title: How to fixed an element in css animation
body: <p>I want to do a CSS Countdown animation, which goes from 0 to 7, but when it reaches 7, it disappears, I would like to know how I can make 7 stay fixed.</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>body {
    background: pink;
  }
  
  .wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50%, -50%);
  }
  
  .wrapper span {
    font-family: bignoodletitling;
    color: #fff;
    border: 5px solid white;
    padding: 0 30px;
    border-radius: 25px;
    margin: 0 10px;
  }
  
  .box {
    display: inline-block;
    overflow: hidden;
    height: 1em;
    line-height: 1em;
    font-weight: bold;
    font-size: 16em;
  }
  
  .box:after {
    position: relative;
    white-space: pre;
    content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A";
  }
  
  .box.first-number:after {
    animation: animate 30s steps(10) infinite;
  }
  
  @keyframes animate {
    0% {
      top: 0;
    }
    10% {
      top: -10em;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;span class="box first-number"&gt;&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>