зеркало из https://github.com/mozilla/pjs.git
31 строка
670 B
HTML
31 строка
670 B
HTML
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
#parent {
|
|
-moz-transform-style: preserve-3d;
|
|
-moz-transform: rotatex(180deg);
|
|
}
|
|
|
|
#one {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
-moz-transform: translatez(10px) translatey(50px);
|
|
}
|
|
|
|
#two {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: #00FF00;
|
|
-moz-transform: translatez(10px);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="parent">
|
|
<div id="one"></div>
|
|
<div id="two"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|