-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathflexbox.css
More file actions
40 lines (38 loc) · 757 Bytes
/
flexbox.css
File metadata and controls
40 lines (38 loc) · 757 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
.countries {
display: flex;
}
/* Add your own CSS code below */
.countries--first {
justify-content: right;
align-items: flex-end;
}
.countries--second {
justify-content: center;
align-items: flex-end;
flex-direction: row-reverse;
}
.countries--third {
justify-content: center;
align-items: flex-start;
}
.countries--third li:nth-child(1) {
align-self: flex-end;
}
.countries--fourth {
flex-direction: column;
align-items: flex-end;
justify-content: center;
}
.countries--fourth li:nth-child(3),
.countries--fourth li:nth-child(4) {
align-self: center;
}
.countries--fifth {
flex-direction: column-reverse;
align-items: end;
justify-content: start;
}
.countries--fifth li:nth-child(5) {
order: 3;
align-self: center;
}