-
Notifications
You must be signed in to change notification settings - Fork 0
/
flex-main.html
66 lines (61 loc) · 1.24 KB
/
flex-main.html
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
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<title>Flexbox Main</title>
<meta charset="utf-8">
<link rel="stylesheet" href="./css/flex-main.css"></link>
</head>
<body>
<div style="text-align: center">
<h1>Simple Flex Container</h1>
</div>
<div class="container-1">
<h2>Container-1</h2>
<div class="child-1">
<h3>Child-1</h3>
<p>Something about child-1</p>
</div>
<div class="child-2">
<h3>Child-2</h3>
<p>Something about child-2</p>
</div>
</div>
<div class="container-2">
<h2>Container-2</h2>
<div class="child-1">
<h3>Child-1</h3>
<p>Something about child-1</p>
</div>
<div class="child-2">
<h3>Child-2</h3>
<p>Something about child-2</p>
</div>
</div>
<hr />
<div style="text-align: center">
<h1>Inline Flex Container</h1>
</div>
<div class="container-3">
<h2>Container-3</h2>
<div class="child-1">
<h3>Child-1</h3>
<p>Something about child-1</p>
</div>
<div class="child-2">
<h3>Child-2</h3>
<p>Something about child-2</p>
</div>
</div>
<div class="container-4">
<h2>Container-4</h2>
<div class="child-1">
<h3>Child-1</h3>
<p>Something about child-1</p>
</div>
<div class="child-2">
<h3>Child-2</h3>
<p>Something about child-2</p>
</div>
</div>
</body>
</html>