| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Reflections Ordering</title> | |
| <style type="text/css" media="screen"> | |
| .reflected { | |
| height: 100px; | |
| width: 200px; | |
| margin: 20px; | |
| border: 10px solid black; | |
| font-size: 18pt; | |
| text-align: center; | |
| background-color: white; | |
| -webkit-transform: translateZ(0); | |
| -webkit-box-reflect: below -80px; | |
| } | |
| .composited { | |
| -webkit-transform: translateZ(0); | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <p>You should see a black rectangle divided into two parts; the top part should be taller (reflection should be behind original).</p> | |
| <div class="reflected composited">Contents</div> | |
| </body> | |
| </html> |