title: Strike in and out animation on hover
body: <p>I'm trying to make a <strong>strikethrough animation</strong> like the effect here:</p>
  
  <p><a href="https://i.stack.imgur.com/Kv5kb.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/Kv5kb.gif" alt="Strikethrough effect on hover"></a></p>
  
  <p>The strike line appears <strong>from left to right</strong> and disappears from <strong>left to right</strong>.</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>@keyframes strike {
    0% {
      width: 0;
    }
    50% {
      width: 100%;
    }
    100% {
      width: 0;
    }
  }
  
  .strike {
    position: relative;
  }
  
  .strike:hover:after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: black;
    animation-name: strike;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: fill;
    animation-direction: normal;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    The text in the span &lt;span class="strike"&gt;is what I want to strike out&lt;/span&gt;.
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Is there a way to achieve that only with <em>CSS</em> ?</p>