зеркало из https://github.com/mozilla/gecko-dev.git
29 строки
581 B
HTML
29 строки
581 B
HTML
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
#grandparent {
|
|
-moz-transform-style: preserve-3d;
|
|
margin-left: 200px
|
|
}
|
|
#parent {
|
|
-moz-transform-style: preserve-3d;
|
|
}
|
|
|
|
#child {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
-moz-transform: translatex(-200px);
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="grandparent">
|
|
<div id="parent">
|
|
<div id="child"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|