-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
96 lines (83 loc) · 1.38 KB
/
index.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* body {
text-align: center;
max-width: 500px;
margin: auto;
}
#game-title {
font-size: 40px;
color: green;
text-decoration-skip: center;
}
.gameBoard {
display: grid;
gap: 1px;
grid-template-columns: repeat(3, auto);
grid-template-rows: auto;
margin-left: auto;
margin-right: auto;
width: 350px;
height: 350px;
text-align: center;
background-color: gray;
cursor: pointer;
}
.square:hover {
background-color: yellow;
color: blue;
}
#resetGame {
margin: 20px;
font-weight: bold;
} */
body {
align-items: center;
background-color: lightblue;
}
.container {
width: 320px;
height: 320px;
margin: auto;
margin-top: auto;
color:green;
}
h1 {
text-align: center;
font-size: 50px;
}
.row {
height: 100px;
}
.col {
height: 100px;
width: 100px;
float: left;
font-size: 100px;
text-align: center;
line-height: 100px;
}
.col:hover {
background-color: blue;
}
.border-b {
border-bottom: 10px solid black;;
}
.border-r {
border-right: 10px solid black;
}
.winner {
color: yellow
}
.message {
color: green;
font-size: 30px;
align-items: center;
align-content: center;
}
#resetButton {
color: white;
background-color: orange;
font-size: 24px;
display: inline-block;
width: 200px;
padding: 10px 50px;
}