title: Can't select inputs after TransformY on chrome for a "card flipping" effect
body: <p>I have a "card" design in which I have an <code>div</code> with two children, a "front" and a "back". A "card flipping" effect is achieved by applying a <code>rotateY(180deg)</code> transform to the card, hiding the back-face.</p>
  
  <p>I've noticed a few differences between chrome and firefox. On firefox, the animation is smooth, on chrome, there's a flash of white. But most importantly, an input element on the "back" face of the card is not clickable in Chrome. </p>
  
  <p>You can see the effect in each browser in these gifs:</p>
  
  <p><a href="https://i.stack.imgur.com/2TN0G.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2TN0G.gif" alt="a card in chrome"></a>
  <a href="https://i.stack.imgur.com/9YbF0.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9YbF0.gif" alt="a card in firefox"></a></p>
  
  <p>Any ideas on what is going on?  </p>
  
  <p>Code available at this pen: <a href="https://codepen.io/elbasti/pen/poJjLmP" rel="nofollow noreferrer">https://codepen.io/elbasti/pen/poJjLmP</a></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-js lang-js prettyprint-override"><code>function flipCard() {
    var element = document.getElementById("flipper-container");
    element.classList.toggle("flipper--flipped");
  }</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.flipper {
    perspective: 1000px;
    width: 200px;
    height: 200px;
    flex: 0 1 auto;
  }
  
  .card {
    height: 200px;
    width: 200px;
    transition: transform 1s;
    transform-style: preserve-3d;
    padding: 0px;
    backface-visibility: hidden;
  }
  
  .card__face {
    box-sizing: border-box;
    border-radius: 12px;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    backface-visibility: hidden;
  }
  
  .card__face--back {
    background-color: #9e0495;
    position: relative;
    height: 100%;
    color: white;
    transform: rotateY(180deg);
  }
  
  .card__face--front {
    background: gray;
  }
  
  .flipper.flipper--flipped .card {
    transform: rotateY(180deg);
    transition: transform 0.5s;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="flipper-container" class="flipper"&gt;
    &lt;div class="card"&gt;
      &lt;div class="card__face card__face--back"&gt;
        &lt;p&gt;I am the back&lt;/p&gt;
        &lt;input type="text" placeholder="Back input"&gt;
        &lt;p&gt;The back one doeesn't work in chrome :(&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="card__face card__face--front"&gt;
        &lt;p&gt;I am the front&lt;/p&gt;
        &lt;input type="text" placeholder="Front input"&gt;
        &lt;p&gt;The front input works.&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;button id="toggle-flip" onclick="flipCard()"&gt;Click me&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>