Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Simple Sorting</title>
<link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com">
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content="The red box here is translated in the negative
Z-direction, so it should render beneath the lime box even though it comes
later in DOM order.">
<link rel="match" href="transform-lime-square-ref.html">
</head>
<body>
<div style="transform-style:preserve-3d">
<div style="width: 100px; height: 100px; background: lime;
transform: translatez(10px)"></div>
<div style="width: 100px; height: 100px; background: red;
transform: translatez(-10px) translatey(-100px)"></div>
</div>
</body>
</html>