Generate the CSS code to flip an element - div in this case - which can contain child elements (with some IE backward compatability issues) using 3D transforms, transitions and control for the direction and anchor point (transform origin). Vendor prefixes are included for maximum backward compatability.
Transform Origin
Transition
Flip On
The front side
Dark side of the moon
Change the settings above in order to generate the Card Flip CSS.
<div class="card-container"> <div class="card"> <div class="front"> <p>The front side</p> </div> <div class="back"> <p>Dark side of the moon</p> </div> </div> </div>