aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_item-vertical-align.xht
blob: 88dcfd0e2b03e6e48162f12f6381d0924d931ac7 (plain) (blame)
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
29
30
31
32
33
34
<!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 | vertical-align</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-containers" rel="help" />
<link href="reference/flexbox_item-vertical-align-ref.xht" rel="match" />
<style>
div {
	background: yellow;
	border: 1px solid black;
	width: 600px;

	display: flex;
}
p {
	background: #3366cc;
	margin: 2em;
	width: 2em;
	height: 2em;
}
#one {vertical-align: bottom;}
#two {vertical-align: top;}
#three {vertical-align: middle;}
#four {vertical-align: super;}
#five {vertical-align: sub;}
</style>

</head><body><div>
	<p id="one"></p>
	<p id="two"></p>
	<p id="three"></p>
	<p id="four"></p>
	<p id="five"></p>
</div>
</body></html>