css-transform-scale-ref-001.html (617B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Reference File</title> 5 <link rel="author" title="Chris Sanborn" href="mailto:granimalcracker@gmail.com"> 6 <style type="text/css"> 7 .container { 8 position: absolute; 9 } 10 .greenSquare { 11 position: absolute; 12 width: 200px; 13 height: 200px; 14 background-color:green; 15 } 16 </style> 17 </head> 18 <body> 19 <p>The test passes if you hover over the green square and it completely covers the red square.</p> 20 <div class="container"> 21 <div class="greenSquare"></div> 22 </div> 23 </body> 24 </html>