transform-abspos-ref.html (782B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reftest Reference</title> 5 <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com"> 6 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 7 <style> 8 body > div { 9 width: 100px; 10 height: 200px; 11 position: relative; 12 left: 50px; 13 top: 50px; 14 background: gold; 15 } 16 body > div > div { 17 width: 200px; 18 height: 100px; 19 position: absolute; 20 left: 50px; 21 top: 100px; 22 background: navy; 23 color: gold; 24 } 25 </style> 26 </head> 27 <body> 28 <div> 29 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 30 <div> 31 0 1 2 3 4 5 6 7 8 9 32 </div> 33 </div> 34 </body> 35 </html>