-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (66 loc) · 1.16 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
body {
font-family: arial;
background-color: black;
}
.container {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: auto;
flex-wrap: wrap;
height: 500px;
width: 500px;
}
.board {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.game-over {
position: absolute;
height: 500px;
width: 500px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #111;
opacity: 1;
animation: fadein 0.75s;
color: white;
align-items: center;
}
.reset-button {
height: 100px;
align-self: center;
min-width: 200px;
display: flex;
justify-content: center;
align-items: center;
color: black;
font-size: 32px;
background: lawngreen;
font-weight: 900;
}
.reset-button:hover {
opacity: 0.7;
}
.square {
display: flex;
height: 150px;
width: 150px;
font-size: 100px;
justify-content: center;
align-items: center;
}
.square:hover {
opacity: 0.7;
}