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