Use mixins for card flip.