mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
32 lines
539 B
HTML
32 lines
539 B
HTML
<html>
|
|
</head>
|
|
<style type="text/css">
|
|
.stage{
|
|
-moz-perspective: 100px;
|
|
-moz-perspective-origin: 30px 30px;
|
|
height:100px;
|
|
width:100px;
|
|
margin:5px;
|
|
padding:5px;
|
|
border:5px solid gray;
|
|
}
|
|
|
|
.box {
|
|
-moz-transform:rotateX(45deg);
|
|
height:70px;
|
|
width:70px;
|
|
background:green;
|
|
margin:5px;
|
|
padding:5px;
|
|
border:5px solid black;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="stage">
|
|
<div class="box"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|