blob: f2c4e0567b5255c89dd953502a7c1c8cb58f573e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
.container {
-webkit-perspective: 1000;
}
.frame {
-webkit-transform-style: preserve-3d;
transform: translateX(200px) rotateY(85deg);
}
.front {
position:absolute;
background-color: red;
}
.back {
position:absolute;
background-color: green;
transform: rotateY(180deg);
}
div {
height: 200px;
width: 200px;
}
.backfaceHidden {
backface-visibility: hidden;
}
</style>
</head>
<body>
<!-- In the pixel results, the green side should be visible. -->
<div class="container">
<div class="frame">
<div class="backfaceHidden front"></div>
<div class="backfaceHidden back"></div>
</div>
</div>
</body>
</html>