-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (76 loc) · 1.23 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: black;
display: flex;
justify-items: center;
align-items: center;
flex-direction: column;
color: white;
}
.heading {
margin: 2rem 0 2rem;
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
}
.heading h1 {
font-size: 3.5rem;
margin: 3rem 0 2rem;
font-family: "Press Start 2P", cursive;
color: #663200;
}
.heading p {
font-size: 2rem;
text-align: center;
}
.holes {
margin: 5rem 0 1rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2rem;
}
.hole {
position: relative;
height: 60px;
width: 100px;
border-radius: 50%;
background-color: #663200;
overflow: hidden;
display: none;
}
.button button {
background-color: black;
height: 50px;
width: 120px;
border: 2px solid white;
margin: 2rem 1rem 0;
color: white;
font-size: 1.2rem;
}
.reset {
display: none;
}
.mole {
position: absolute;
z-index: 1;
height: 90px;
bottom: -30px;
left: 50%;
transform: translateX(-50%);
animation: mole 400ms linear;
pointer-events: none;
transition: bottom linear 500ms;
}
@keyframes mole {
from {
bottom: -90px;
}
to {
bottom: -30px;
}
}