Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): perspective()</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content="This tests that the perspective() transform
works the same as an equivalent 'perspective' property.">
<link rel="match" href="transform3d-perspective-001-ref.html">
<link rel="mismatch" href="transform-lime-square-ref.html">
</head>
<body>
<div style="height: 100px; width: 100px; background: lime;
transform: translatey(50%) perspective(1000px) translatey(-50%)
rotatex(45deg) scaley(1.41421356); transform-origin: top">
</div>
</body>
</html>