-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
59 lines (53 loc) · 936 Bytes
/
app.css
File metadata and controls
59 lines (53 loc) · 936 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
h1{
text-align: center;
}
#container {
background-color: #97a8b1;
width: 90%;
/* height: 500px; */
margin: 0 auto;
border: 5px solid #003049;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
align-items: center;
/* align-content: center; */
}
#container div {
width: 200px;
height: 200px;
/* flex-basis: 500px; */
}
div:nth-of-type(1){
align-self: flex-start;
flex-grow: 1;
}
div:nth-of-type(2){
align-self: center;
}
div:nth-of-type(3){
align-self: flex-end;
}
div:nth-of-type(4){
align-self: center;
}
div:nth-of-type(5){
align-self: flex-start;
flex-shrink: 1;
}
main{
width: 80%;
margin: 0 auto;
border: 5px solid black;
height: 500px;
display: flex;
}
main .sidebar{
background-color: yellow;
flex: 1 2 300px;
}
main .content{
background-color: magenta;
flex: 2 1 800px;
}