| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Reference - CSS Transforms Test: transform property with scale function and move its origin</title> |
| <link rel="author" title="Chris Sanborn" href="mailto:granimalcracker@gmail.com"> |
| <style type="text/css"> |
| .container { |
| position: absolute; |
| } |
| .greenSquare { |
| position: absolute; |
| width: 200px; |
| height: 200px; |
| background-color:green; |
| } |
| </style> |
| </head> |
| <body> |
| <p>The test passes if the green square completely covers the red square.</p> |
| <div class="container"> |
| <div class="greenSquare"></div> |
| </div> |
| </body> |
| </html> |