-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
97 lines (82 loc) · 1.44 KB
/
index.css
File metadata and controls
97 lines (82 loc) · 1.44 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
/* Add CSS here */* {
padding: 0;
margin: 0;
cursor: default;
font-family: sans-serif;
overflow: hidden;
}
body {
height: 100vh;
justify-content: center;
align-items: center;
}
#backgroundImage {
height: 100vh;
width: 100vw;
transition: 100ms;
background-position: center;
background-repeat: no-repeat;
object-fit: cover;
position: absolute;
left: 0;
top: 0;
}
.countdown {
position: relative;
display: flex;
padding-top: 20%;
color: white;
padding-left: 18%;
padding-right: 15%;
gap: 40px;
}
.tittle h1 {
font-size: 20px;
}
.card {
font-weight: 600;
margin: 5%;
font-size: 30px;
transition: all 0.4s;
}
.card:hover {
transform: scale(1.2);
}
.card h1 {
font-size: 60px;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
@media (max-width: 780px) {
.countdown {
gap: 20px;
margin-top: 20%;
}
.backgroundImage img {
height: 100%;
overflow: hidden;
}
.tittle h1 {
font-size: 15px;
}
.card h1 {
font-size: 20px;
}
}
@media (max-width: 480px) {
.countdown {
margin-top: 40%;
gap: 20px;
}
.tittle h1 {
font-size: 15px;
}
.card h1 {
font-size: 30px;
}
.backgroundImage img {
overflow: hidden;
}
}