shape-outside-box-005-ref.html (933B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Reference File</title> 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> 6 </head> 7 <style> 8 body { 9 margin: 0; 10 } 11 #container { 12 position: relative; 13 } 14 #line { 15 position: absolute; 16 top: 0px; 17 left: 100px; 18 width: 2px; 19 height: 200px; 20 border-left: 2px solid blue; 21 } 22 #square { 23 position: absolute; 24 top: 80px; 25 left: 60px; 26 width: 40px; 27 height: 40px; 28 background-color: green; 29 } 30 </style> 31 <body> 32 <p>The test passes if there is a green square to the left of the blue line. There should be no red.</p> 33 <div id="container"> 34 <div id="line"></div> 35 <div id="square"></div> 36 </div> 37 </body> 38 </html>