-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
99 lines (80 loc) · 1.39 KB
/
style.css
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
body {
margin: 50px;
font-family: Poppins;
background-color: #202020;
color: white;
}
#h1 {
font-size: 35px;
text-align: center;
}
#p {
text-align: center;
color: lightgrey;
}
.grid {
display: grid;
justify-content: center;
}
footer {
color: gray;
font-size: small;
padding-top: 100px;
text-align: center;
}
#result {
padding-top: 30px;
font-size: 20px;
}
#flip-coin {
max-width: 400px;
margin-top: 50px;
}
#flip-coin:hover {
transform: scale(1.1);
transition: transform 0.3s;
}
#result {
text-align: center;
font-weight: 700;
color: #e1b530;
}
#flip-again {
margin-top: 20px;
text-align: center;
}
#flip-again-btn {
text-align: center;
background-color: transparent;
color: white;
border: 1px solid lightgray;
border-radius: 20px;
padding: 10px 50px;
font-family: Poppins;
}
#flip-again-btn:hover {
background-color: #e1b530;
color: rgb(56, 56, 56);
border: none;
}
a {
text-decoration: none;
color: red;
}
a:hover {
color: grey;
}
@media screen and (max-width: 500px) {
#coin {
max-width: 450px;
}
#flip-coin {
width: 100%;
}
#flip-again {
font-size: small;
}
footer {
padding-top: 40px;
}
}