servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_absolute-atomic.xht

29 lines
No EOL
743 B
HTML

<!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>flexbox | abspos atomic flexitems</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<link href="http://www.w3.org/TR/css-flexbox-1/#abspos-items" rel="help" />
<link href="reference/flexbox_absolute-atomic-ref.xht" rel="match" />
<style>
body {margin: 0;}
body&gt;div {
background: #ffcc00;
display: flex;
justify-content: space-around;
}
div div {
background: #3366cc;
margin: 20px;
}
#abs {
position: absolute;
top: -1000px;
}
</style>
</head><body><div>
<div>damer</div>
<div id="abs">damer</div>
<div>damer</div>
</div>
</body></html>