summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/perspective-origin-2-ref.html
blob: 7c9e0d58ae8d7971fd2bab56ab31535256ef4a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
</head>
<style type="text/css">
	.stage{
		-moz-perspective: 100px;
        -moz-perspective-origin: 30px 30px;
        height:100px;
        width:100px;
        margin:5px;
        padding:5px;
        border:5px solid gray;
	}
	
	.box {
        -moz-transform:rotateX(45deg);
        height:70px;
        width:70px;
        background:green;
        margin:5px;
        padding:5px;
        border:5px solid black;
	}
	
	</style>
</head>
<body>
    <div class="stage">
        <div class="box"></div>
    </div>
</body>
</html>