blob: 23c4ee691fa300321192be3b191f824411c85e43 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
margin: 50px;
height: 100px;
width: 100px;
border: 1px solid black;
-webkit-perspective: 100px;
}
.box {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: gray;
}
</style>
</head>
<body>
<div class="container">
<div class="box"></div>
</div>
</body>
</html>