transform3d-perspective-003.html (727B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Perspective on Grandparent</title> 5 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 6 <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#perspective-property"> 7 <meta name="assert" content="This tests that 'perspective' affects only the 8 element's children, not its grandchildren."> 9 <link rel="match" href="transform-lime-square-ref.html"> 10 </head> 11 <body> 12 <div style="perspective: 1000px"> 13 <div> 14 <div style="height: 100px; width: 100px; background: lime; 15 transform: rotatex(45deg) scaley(1.41421356); transform-origin: top"> 16 </div> 17 </div> 18 </div> 19 </body> 20 </html>