-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtictactoe.css
More file actions
64 lines (55 loc) · 1008 Bytes
/
Copy pathtictactoe.css
File metadata and controls
64 lines (55 loc) · 1008 Bytes
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
body {
font-family: 'Poppins', sans-serif;
text-align: center;
background-color: #9ed2e4;
color: #fff;
padding-top: 90px;
}
h1 {
font-size: 45px;
}
.board {
display: grid;
grid-template-columns: repeat(3, 120px);
grid-gap: 8px;
justify-content: center;
margin: 30px auto;
}
.cell {
width: 120px;
height: 120px;
background-color: #e0e0e0;
border-radius: 12px;
font-size: 48px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s, transform 0.2s ease-in-out;
}
.cell:hover {
background-color: #d0d0d0;
}
.cell.disabled {
cursor: default;
background-color: #bbbbbb;
}
.button {
margin-top: 20px;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 8px;
background-color: #ff79c6;
color: white;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease;
}
.button:hover {
transform: scale(1.05);
background-color: #f468b9;
}
.show {
display: flex !important;
}