summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/3d-scene-with-iframe-001-ref.html
blob: d984f8a6e9d6f9c221affc07628f8b353dccb010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="UTF-8">
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
<link rel="author" title="Google" href="http://www.google.com/">

<style>

#container {
    perspective: 400px;
    perspective-origin: 0 0;
}
#ref {
    background-color: green;
    width: 150px;
    height: 100px;
    transform: translateZ(200px);
}

</style>

<div id="container">
    <div id="ref"></div>
</div>