title: How to make infinite flip out of the code below?
body: <p>How to tweak the flip javascript in this link <a href="http://desandro.github.io/3dtransforms/docs/card-flip.html" rel="nofollow">http://desandro.github.io/3dtransforms/docs/card-flip.html</a> so that it will flip to the third content or won't referse flip to the first content</p>
  
  <pre><code>var init = function() {
      var card = document.getElementById('card');
  
      document.getElementById('flip').addEventListener( 'click', function(){
          card.toggleClassName('flipped');
      }, false);
  };
  
  window.addEventListener('DOMContentLoaded', init, false);
  </code></pre>