Source code

Revision control

Copy as Markdown

Other Tools

<html>
<head>
<style type="text/css">
#grandparent {
transform-style: preserve-3d;
}
#parent {
transform-style: preserve-3d;
}
#child {
width: 100px;
height: 100px;
background-color: red;
transform: translatex(0px);
}
</style>
</head>
<body>
<div id="grandparent">
<div id="parent">
<div id="child"></div>
</div>
</div>
</body>
</html>