-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
128 lines (107 loc) · 1.58 KB
/
index.css
File metadata and controls
128 lines (107 loc) · 1.58 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* Write your code here. */
* {
box-sizing: border-box;
}
body {
margin: 0px;
}
.main-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.heading {
color: #0f172a;
font-family: "Roboto";
font-size: 48px;
font-weight: 700;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
.title {
color: #ffffff;
font-family: "Bree Serif";
font-size: 18px;
}
.box {
display: flex;
justify-content: center;
align-items: center;
margin: 12px;
}
.box1 {
background-color: #fbbf24;
height: 80px;
width: 80px;
margin-top: 24px;
}
.box2 {
background-color: #38bdf8;
height: 150px;
width: 150px;
}
.box3 {
background-color: #ec4899;
height: 270px;
width: 270px;
}
@media screen and (min-width: 768px) {
.box {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 20px;
margin-right: 20px;
}
.container {
flex-direction: row;
align-items: flex-end;
}
.box1 {
height: 100px;
width: 100px;
}
.box2 {
height: 200px;
width: 200px;
}
.box3 {
height: 350px;
width: 350px;
}
.title {
font-size: 24px;
}
}
@media screen and (min-width: 992px) {
.box {
margin-left: 40px;
margin-right: 40px;
}
.box1 {
height: 120px;
width: 120px;
}
.box3 {
height: 400px;
width: 400px;
}
}
@media screen and (min-width: 1200px) {
.box1 {
height: 140px;
width: 140px;
}
.box2 {
height: 250px;
width: 250px;
}
.box3 {
height: 450px;
width: 450px;
}
}