title: Blink border 3 times (1 second per loop) in css
body: <p>Hi i am trying to create animation in css</p>
  <p>should blink per second and then repeat 3 times.
  at the end the border should look regular by default</p>
  <p>I tried the following but the border is disappeared by the end.
  at the end I need the border color still be the same as the animation color</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>.alerts-border {
      border: 1px solid;
      animation: blink 1s;
      animation-iteration-count: 3;
      
      height:40px;
      width:40px;
  }
  
  @keyframes blink { 50% { border-color: #ff0000; }  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="alerts-border"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>