Dev Helpers
← Back

Hide the back face of a card

Hide the back face of a card with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  .demo .tile {
    rotate: y 180deg;
    backface-visibility: hidden;
  }
</style>
<div class="demo">
  The rotated child is hidden: <span class="tile">Back face</span>
</div>