-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathstyle.css
62 lines (56 loc) · 952 Bytes
/
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
html
{
height: 100%;
}
body
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url("background.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.score
{
font-size: 50px;
color: yellow;
}
.container
{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
height: 300px;
width: 300px;
gap: 5px;
margin: 10px;
}
.hole
{
border-radius: 50%;
border: 5px solid darkcyan;
position: relative;
overflow: hidden;
}
.hole img
{
width: 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
animation: raise 0.5s ease-out;
}
@keyframes raise {
0%
{
transform: translateX(-50%) translateY(-100%);
}
100%
{
transform: translateX(-50%) translateY(0);
}
}