Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (67 loc) · 1.39 KB
/
Copy pathstyle.css
File metadata and controls
79 lines (67 loc) · 1.39 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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f0f8ff;
}
h1 {
color: #333;
}
#game-board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-gap: 10px;
justify-content: center;
margin: 20px auto;
}
.hole {
width: 100px;
height: 100px;
background-color: #8b4513;
border-radius: 50%;
position: relative;
overflow: hidden;
}
.hole {
cursor: none; /* Nasconde il cursore solo sopra i cerchi */
}
.hole::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
background-image: url('talpa.png');
background-size: cover;
background-position: center;
transform: translate(-50%, -50%);
visibility: hidden;
}
.hole.active::after {
visibility: visible;
}
button {
margin: 10px;
padding: 10px 20px;
font-size: 16px;
background-color: #008cba;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #005f73;
}
body {
cursor: default; /* ripristina il cursore predefinito */
}
#hammer {
position: absolute;
width: 50px;
height: 50px;
background-image: url('martello.png.png');
background-size: cover;
pointer-events: none;
z-index: 1000;
}