summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform3d-perspective-001.html
blob: c97003e64516ea5d9e256d16133fa73f6bb63123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): perspective()</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#perspective-property">
    <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>