-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
81 lines (72 loc) · 1.39 KB
/
index.css
File metadata and controls
81 lines (72 loc) · 1.39 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
70
71
72
73
74
75
76
77
78
79
80
81
.my-container{
display:flex;
flex-wrap:wrap;
width:100%;
font-size: 16px;
}
.parent{
background-color: lightgrey;
height: 8%;
width: 51%;
border-width: 1px;
border-color: #17c0eb;
border-style: solid;
padding: 5px;
}
.child{
background-color: white;
height: 20%;
width: 51%;
border-width: 1px;
border-color: #17c0eb;
border-style: solid;
padding: 5px;
}
#first-collapse{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
background-color: #17c0eb;
}
#second-collapse{
background-color: #17c0eb;
}
#first-division{
background-color: #7efff5;
font-size: 0.7rem;
}
#second-division{
background-color: #7efff5;
font-size: 0.7rem;
}
#third-division{
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
background-color: #7efff5;
font-size: 0.7rem;
}
#third-collapse{
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
background-color: #17c0eb;
}
/*use media queries to change the layout*/
@media screen and (max-width: 480px) {
#first-collapse {
width: 100%;
}
#second-collapse {
width: 100%;
}
#third-collapse {
width: 100%;
}
#first-division {
width: 100%;
}
#second-division {
width: 100%;
}
#third-division {
width: 100%;
}
}