summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/flexible-order-ref.html
blob: 12e94ba598e74cd253f0f91daf7e88f44884b7fc (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head><title>CSS Test: Change the value of 'order' property</title>
<link rel="author" title="KeynesQu" href="mailto:keynesqu@sohu.com" />

<style>

.box {
	margin:0 auto;
	background:#CCC;
	border-radius:5px;
	width:600px;
}

.box div {
	margin:0;
	width:200px;
	float:left;
	text-align:center;
}

.box .red {
	background:#F00;
}
.box .blue {
	background:#00F;
}
.box .black {
	color:#FFF;
	background:#000;
}




</style>

</head>

<body>


<!-- FLEX CONTAINER -->
<div class="box">
	<div class="blue">B</div>
	<div class="red">A</div>
	<div class="black">C</div>
</div>



</body>
</html>