2 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <style type=
"text/css">
5 .parentWithPerspective {
6 -moz-perspective: 100px;
7 -moz-perspective-origin: 150px 150px;
8 -webkit-perspective: 100px;
9 -webkit-perspective-origin: 150px 150px;
10 /* Changing width/height to 500px should not change the rendering. */
14 .parentWithPerspective > div {
23 outline: 1px solid black
;
28 -moz-transform-origin: 0% 0%;
29 -moz-transform: rotateY
(45deg);
30 -webkit-transform-origin: 0% 0%;
31 -webkit-transform: rotateY
(45deg);
36 <div class=
"parentWithPerspective">
37 <div class=
"notTransformed"></div>
38 <div class=
"transformed"></div>