title: Change text with flipping animation on hover Jquery/css3
body: <p>I would like to change some text on hover with a flipping animation.
  The number "1" would be displayed and on hover the number flip horizontally to become a "0".
  When the hover out, the number would return to "1"</p>
  
  <p>I can't success to make it fluid.</p>
  
  <p>Any help, script which you do it?</p>
  
  <p>Thanks in advance!</p>
  
  <p>UPDATE : <a href="https://jsfiddle.net/4t7ogtfz/" rel="nofollow">https://jsfiddle.net/4t7ogtfz/</a></p>
  
  <p>Here's what I try. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  $("p").hover(function(){
      $("p").text('0');
      });
  &lt;/script&gt;</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>p{
      font-size:45px;
      display:inline-block;
  }
  
  p:hover{
      transition: all ease-in 1s 0s;
      -webkit-transition: all ease-in 1s 0s;
      -webkit-transform: rotatex(180deg);
      transform: rotatex(180deg);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;p&gt;1&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>