-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice.css
More file actions
111 lines (95 loc) · 1.66 KB
/
practice.css
File metadata and controls
111 lines (95 loc) · 1.66 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.body{
margin: 0;
padding: 0;
font-family: Arial;
}
.big-container{
background-color: yellow;
text-align: center;
}
.container{
background-color: yellow;
display: grid;
grid-template-columns: auto auto auto auto;
grid-template-rows: auto;
grid-gap: 1.5rem;
max-width: 100%;
}
.the-big-container h1{
text-align: center;
padding-top: 3rem;
padding-bottom: 3rem;
margin: 0;
font-weight: 600;
display: block;
background-color: yellow;
}
.item1{
background-color: red;
margin-left: 1rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.item1 audio{
padding: 1rem;
}
.item1 p{
font-weight: 700;
text-align: center;
font-size: larger;
}
.item2{
background-color: blue;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.item2 p{
font-weight: 700;
margin: 1rem;
text-align: center;
font-size: medium;
}
.item3{
background-color: green;
}
.item3{
font-size: larger;
font-weight: 700;
text-align: center;
}
.item4{
display: grid;
}
.white-container{
background-color: white;
width: 90%;
height: 90%;
}
.blue-container{
background-color: blue;
width: 90%;
}
/*Media queries for different screen sizes*/
/*Tablets: 2 columns and 2 rows */
@media screen and (max-width:768px) {
.big-container{
display: flex;
flex-direction: column;
}
.container{
grid-template-columns: auto auto ;
grid-template-rows: 250px 250px;
}
}
/*Mobile Phones : 1 column and 4 rows */
@media screen and (max-width:480px) {
.container{
grid-template-columns: auto;
grid-template-rows: repeat(4,250px);
}
.big-container {
display: grid;
}
}