Testing how to implement a CSS3 Card Flip Effect.
<div class="card-wrapper {class_effect}">
<div class="card">
<div class="front">
<!-- FRONT SIDE -->
</div>
<div class="back">
<!-- BACK SIDE -->
</div>
</div>
</div>
.flip-right
.flip-left
.flip-up
.flip-down
.flip-diagonal-right
.flip-diagonal-left
.flip-inverted-diagonal-right
.flip-inverted-diagonal-left
<div class="card-wrapper flip-right">
<div class="card">
<div class="front">
FRONT
</div>
<div class="back">
BACK
</div>
</div>
</div>
Add the width and height of the card:
.card-wrapper, .card {
width: 200px;
height: 200px;
}