зеркало из https://github.com/mozilla/gecko-dev.git
28 строки
421 B
HTML
28 строки
421 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<style type="text/css">
|
|
.stage{
|
|
-moz-perspective: 700px;
|
|
overflow: hidden;
|
|
width: 260px;
|
|
height: 260px;
|
|
display: block;
|
|
}
|
|
|
|
.box {
|
|
width: 170px;
|
|
height: 170px;
|
|
background-color: red;
|
|
display: block;
|
|
-moz-transform: rotate3d(0,1,0, 50deg) translatey(20px);
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
|
|
<body id="body">
|
|
<div class="stage">
|
|
<div class="box"></div>
|
|
</div>
|
|
</body></html>
|