blob: ae67ee9d38d95c2df65f7bf5b04b170751bf84bf (
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
29
30
31
32
33
34
35
36
37
38
|
<!DOCTYPE html>
<html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox_item-vertical-align.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<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="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/flexbox_item-vertical-align-ref.htm" 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>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox_item-vertical-align.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>
|