-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflex.html
More file actions
69 lines (67 loc) · 1.1 KB
/
flex.html
File metadata and controls
69 lines (67 loc) · 1.1 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
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
.container{
background:beige;
display:flex;
flex-direction:column;
height:600px;
justify-content:space-evenly;
align-items:center;
}
.item{
width: 40px;
height: 40px;
border:1px solid black;
flex-grow:1
}
.item1{
background:#7e57c2;
}
.item2{
background:#42a5f5;
}
.item3{
background:#43a047;
}
.item4{
background:#26c6da;
}
.item5{
background:#f8bbd0;
}
.item6{
background:#7986cb;
}
.item7{
background:#a1887f;
}
.item8{
background:#9e9e9e;
}
.item9{
background:#ffee58;
}
.item10{
background:#ff5722;
}
</style>
</head>
<body>
<div class="container">
<div class="item item1">1</div>
<div class="item item2">2</div>
<div class="item item3">3</div>
<div class="item item4">4</div>
<div class="item item5">5</div>
<div class="item item6">6</div>
<div class="item item7">7</div>
<div class="item item8">8</div>
<div class="item item9">9</div>
<div class="item item10">10</div>
</div>
</body>
</html>