-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolution.html
More file actions
62 lines (51 loc) · 1.04 KB
/
solution.html
File metadata and controls
62 lines (51 loc) · 1.04 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
62
<!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>
<style>
.container {
color: white;
border: 5px solid gold;
display: inline-flex;
flex-direction: column;
}
.container > * {
flex-basis: 100px;
}
.red {
background-color: #eb4d4b;
}
.orange {
background-color: #f0932b;
}
.yellow {
background-color: #f6e58d;
}
.green {
background-color: #6ab04c;
}
.blue {
background-color: #4834d4;
}
.indigo {
background-color: #30336b;
}
.purple {
background-color: #be2edd;
}
</style>
</head>
<body>
<div class="container">
<div class="red">Red</div>
<div class="orange">Orange</div>
<div class="yellow">Yellow</div>
<div class="green">Green</div>
<div class="blue">Blue</div>
<div class="indigo">Indigo</div>
<div class="purple">Purple</div>
</div>
</body>
</html>