Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/transform3d-perspective-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Simple Perspective</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content="This tests the 'perspective' property in a
very simple case, such that the reference can be constructed without using
CSS transforms.">
<link rel="match" href="transform-lime-square-ref.html">
</head>
<body>
<div style="padding: 25px">
<div style="height: 50px; width: 50px; background: lime;
transform: perspective(100px) translatez(50px)">
</div></div>
</body>
</html>