-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (76 loc) · 2.01 KB
/
index.html
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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tic-Tac-Toe Game</title>
<style>
.t {
background-color: blueviolet;
display: flex;
justify-content: center;
color: azure;
font-size: 30px;
}
.info {
display: flex;
justify-content: center;
font-size: 20px;
}
.sG {
display: grid;
grid-template-columns: repeat(3, 10vw);
grid-template-rows: repeat(3, 10vw);
justify-content: center;
}
.g {
background-color: rgb(198, 189, 189);
border: 2px solid black;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
color: blueviolet;
}
.g:hover {
background-color: rgb(188, 142, 232);
}
.b {
display: flex;
justify-content: center;
background-color: blueviolet;
font-size: 20px;
align-items: center;
margin: auto;
}
</style>
</head>
<body>
<section class="t">
<h1>Tic-Tac-Toe</h1>
</section>
<br />
<div>
<span class="info">Turn for X</span>
</div>
<br />
<div class="c">
<div class="sG">
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
<div class="g"><span class="gt"></span></div>
</div>
<br /><br />
<div>
<button id="reset" class="b">Reset</button>
</div>
</div>
<script src="App.js" ></script>
</body>
</html>