-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (85 loc) · 2.03 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Tic tac toe Wasm</title>
<style type="text/css">
body {
background-color: yellow;
}
.grid {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 60px;
}
.cell {
display: inline-block;
width: 150px;
height: 150px;
border-radius: 75px;
opacity: 0.75;
background-color: #aaa;
box-shadow: 2px 2px 0px #888888;
transition: all 0.2s;
cursor: pointer;
}
.cell-p1 {
display: inline-block;
width: 150px;
height: 150px;
border-radius: 75px;
opacity: 0.75;
background-color: #aaa;
box-shadow: 2px 2px 0px #888888;
transition: all 0.2s;
cursor: pointer;
background-color: white;
cursor: default;
}
.cell-p2 {
display: inline-block;
width: 150px;
height: 150px;
border-radius: 75px;
opacity: 0.75;
background-color: #aaa;
box-shadow: 2px 2px 0px #888888;
transition: all 0.2s;
cursor: pointer;
background-color: black;
cursor: default;
}
.announcement {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: absolute;
top: 20%;
bottom: 20%;
left: 20%;
right: 20%;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.8);
text-align: center;
font-size: 2em;
color: white;
button {
height: 50px;
width: 100px;
font-size: 0.5em;
font-weight: bold;
border: none;
border-radius: 10px;
background-color: white;
color: purple;
}
}
</style>
</head>
<body>
<div id="app"></div>
</body>
</html>