| <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <title>CSS Test: Box-pack end places flexbox items at the right side (in horizonatal) - Reference </title> |
| <link rel="author" title="Codeaurora" href="http://www.codeaurora.org/" /> |
| <link rel="help" href="http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/"/> |
| <style type="text/css"> |
| .box |
| { |
| background: url('../support/flexbox_100x100g_red.png') top left no-repeat red; |
| width: 400px; |
| height: 100px; |
| position: relative; |
| } |
| .child |
| { |
| width: 100px; |
| height: 100px; |
| background: green; |
| position: absolute; |
| } |
| .c1 |
| { |
| left: 100px; |
| } |
| .c2 |
| { |
| left: 200px; |
| } |
| .c3 |
| { |
| left: 300px; |
| } |
| </style> |
| </head> |
| <body> |
| <p>This test passes if there is no red showing.</p> |
| <div class="box"> |
| <div class="child c1">Box1</div> |
| <div class="child c2">Box2</div> |
| <div class="child c3">Box3</div> |
| </div> |
| </body> |
| </html> |