-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathlearn-css-flex.css
More file actions
84 lines (69 loc) · 990 Bytes
/
Copy pathlearn-css-flex.css
File metadata and controls
84 lines (69 loc) · 990 Bytes
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body {
margin: auto;
max-width: 1000px;
overflow: auto;
}
h1 {
color: rgb(108, 197, 248);
text-align: center;
}
.site-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
}
.red,
.latte,
.lemone,
.rose,
.green,
.flamingo,
.iris,
.blue {
display: flex;
justify-content: center;
align-items: center;
padding: 30px;
margin: 1px;
font-family: sans-serif;
text-align: center;
height: 100px;
}
.red {
background-color: #e22463;
}
.latte {
background-color: #d0ad7b;
}
.lemone {
background-color: #ffcf35;
}
.rose {
background-color: #ff92a3;
}
.green {
background-color: #7bbb44;
}
.flamingo {
background-color: #ff6081;
}
.iris {
background-color: #575772;
}
.blue {
background-color: #7f7fff;
}
.header {
flex: 1;
}
.main {
display: flex;
flex-direction: row;
}
.main > div {
flex: 1;
}
footer {
margin-top: 100px;
}