-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtic.css
More file actions
77 lines (69 loc) 路 1.43 KB
/
Copy pathtic.css
File metadata and controls
77 lines (69 loc) 路 1.43 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
body {
font-family: Arial, sans-serif;
background-color: #121212;
color: #fff;
display: grid;
align-items: center;
justify-content: center;
}
.button{
background: linear-gradient(135deg, #1d1d1d, #333333);
color: white;
padding: 20px;
width: 350px;
text-align: center;
border-radius: 10px;
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button:hover {
transform: translateY(-10px);
box-shadow: 0 0 20px rgba(255, 0, 127, 0.7);
}
#game-container {
text-align: center;
border: 2px solid #fff;
border-radius: 15px;
padding: 20px;
background-color: #1d1d1d;
}
#board {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-template-rows: repeat(3, 100px);
gap: 5px;
margin: 20px 0;
}
.cell {
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
background-color: #333;
font-size: 22px;
color: #fff;
cursor: pointer;
border-radius: 10px;
transition: background-color 0.2s;
}
.cell:hover {
background-color: #555;
}
#status {
margin-bottom: 20px;
font-size: 20px;
}
#reset-button {
padding: 10px 20px;
font-size: 20px;
background-color: #ff007f;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
#reset-button:hover {
background-color: #f2d900;
}