rotateY-ref.html (679B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Transforms Reference File</title> 5 <link rel="author" title="Zou Rui" href="mailto:zrxldl@gmail.com"> 6 <style type="text/css"> 7 .greenSquare { 8 position: absolute; 9 top: 50px; 10 left: 50px; 11 width: 100px; 12 height: 100px; 13 background: green; 14 } 15 .container { 16 position: relative; 17 width: 200px; 18 height: 200px; 19 } 20 21 </style> 22 </head> 23 <body> 24 <p>The test passes if there is a green square and no red.</p> 25 <div class="container"> 26 <div class="greenSquare"></div> 27 </div> 28 </body> 29 </html>