blob: a1bdfbf1252dba9b2defd60a913ed08f689d57f8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
margin: 50px;
height: 300px;
width: 300px;
border: 1px solid black;
perspective: 500px;
}
.transformed {
width: 100%;
height: 100%;
background-color: blue;
transform: rotateY(145deg);
-webkit-backface-visibility: visible;
}
</style>
</head>
<body>
<div class="container">
<div class="transformed"></div>
</div>
</body>
</html>