title: Pause animation between each rotation for five seconds
body: <p>I am working on this demo. How can I add five seconds delay to this animation between each rotate? </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>.card {
      background: #00f;
      width: 100px;
      height: 100px;
      animation: rotate 4s infinite;
      -webkit-animation: rotate 4s infinite;
  }
  
  @-webkit-keyframes rotate {
      100% {
          transform: rotate(90deg);
      }
  }
  @keyframes rotate {
      50% {
          transform: rotate(-90deg);
      }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="card"&gt;A&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>