transform3d-perspective-005.html (1006B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): 'perspective: 1000px' on Grandparent and 5 'perspective: 0px' on Parent</title> 6 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 7 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 8 <link rel="author" title="Google" href="http://www.google.com/"> 9 <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#perspective-property"> 10 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/413"> 11 <meta name="assert" content="This tests that 'perspective: 0px' behaves the 12 same as perspective: 1px."> 13 <link rel="match" href="transform-lime-square-ref.html"> 14 </head> 15 <body> 16 <div style="perspective: 1000px"> 17 <div style="perspective: 0px; perspective-origin: 50px bottom"> 18 <div style="height: 50px; width: 50px; background: lime; 19 transform: translate3d(25px, 25px, 0.5px)"> 20 </div> 21 </div> 22 </div> 23 </body> 24 </html>