title: Stand Animation Upon Completion in css
body: <p>Once the animation is finished, it will not stop and return to its original state
  I want the width to stay at 46%</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>.option{
   background: #c8d7f5;
   margin-top: 3px;
   border-radius: 3px;
   padding: 5px;
   transition:width .5s;
  }
  
  #o1{
   animation: set 1s;
   width:2%;
  }
  
  @keyframes set{
   from{width:2%;}
   to{width:46%;}
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class='option' id='o1'&gt;TEXT&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>