-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorder.html
More file actions
61 lines (57 loc) · 1.8 KB
/
order.html
File metadata and controls
61 lines (57 loc) · 1.8 KB
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
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flex-direction</title>
<link href='https://fonts.googleapis.com/css?family=Josefin Sans' rel='stylesheet'>
<link rel="stylesheet" href="./css/boilerplate.css">
<link rel="stylesheet" href="./css/order.css">
</head>
<body>
<div class="header">
<h1>Flex With Flexbox</h1>
<p>The order property specifies the order of the flex items.</p>
</div>
<div class="head-container">
<h3 class="text-center">all items have order 0</h3>
<div class="flex-container sample1">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
</div>
</div>
<div class="head-container">
<h3 class="text-center">item 2 has order 4</h3>
<div class="flex-container sample2">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
</div>
</div>
<div class="head-container">
<h3 class="text-center">item 2 has order 1 & item 4 has order -1</h3>
<div class="flex-container sample3">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
</div>
</div>
<div class="head-container">
<h3 class="text-center">item 1 and item 2 have orders 2 and 1 respectively</h3>
<div class="flex-container sample4">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
</div>
</div>
</body>
</html>