summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/abspos/flexbox_absolute-atomic.html
blob: dae6b3e43ea71f3795508dd0ca4b243d4510c383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<title>flexbox | abspos atomic flexitems</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#abspos-items">
<link rel="match" href="flexbox_absolute-atomic-ref.html">
<style>
body {margin: 0;}
body>div {
	background: #ffcc00;

	display: flex;
	justify-content: space-around;
}
div div {
	background: #3366cc;
	margin: 20px;
}
#abs {
	position: absolute;
	top: -1000px;
}
</style>

<div>
	<div>filler</div>
	<div id="abs">filler</div>
	<div>filler</div>
</div>