-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
65 lines (59 loc) · 992 Bytes
/
index.css
File metadata and controls
65 lines (59 loc) · 992 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
.root {
display:flex;
justify-content: center;
align-items: center;
height:600px;
flex-wrap: wrap;
background-color: black;
}
.parent {
background: white;
border-style: solid;
border-radius: 5px;
border-color: lightgrey;
border-width: 1px;
width:40%;
height: 30%;
font-family: sans-serif;
}
.h3 {
width: 70%;
}
.cross{
background-color: white;
color: red;
border-color: white;
border-style: solid;
font-size: 24px;
}
.buttons {
height: 40px;
color: white;
border-radius: 5px;
border-style: solid;
font-size: 15px;
margin-right: 7px;
}
.item1 {
width: 70px;
background-color: darkgrey;
border-color: darkgrey;
}
.item2 {
width: 120px;
background-color: green;
border-color: green;
}
/*use media queries to change the layout*/
@media screen and (min-width: 480px) and (max-width: 767px) {
.parent {
width: 60%;
height: 32%;
}
}
@media screen and (max-width: 480px) {
.parent {
width: 90%;
height: 35%
}
}