mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
28 lines
553 B
HTML
28 lines
553 B
HTML
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
#grandparent {
|
|
-moz-transform-style: preserve-3d;
|
|
}
|
|
#parent {
|
|
-moz-transform-style: preserve-3d;
|
|
}
|
|
|
|
#child {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
-moz-transform: translatex(0px);
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="grandparent">
|
|
<div id="parent">
|
|
<div id="child"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|