-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (48 loc) · 1.15 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
<html>
<head>
<title>Ping Pong Arcade</title>
<script src="p5.js"></script>
<script src="sketch.js"></script>
<style>
body {
padding: 0;
margin: 0;
background: #000;
}
#txt{
position: absolute;
width:300px;
height:50px;
font-family:ARCADECLASSIC;
font-size: 28px;
margin-bottom: -30px;
text-align: center;
}
#sub{
position: absolute;
width:300px;
height:50px;
font-family:ARCADECLASSIC;
font-size: 28px;
background: #fff;
border: none;
margin-top: -27px;
}
#sub:hover{
color: #fff;
background: #000;
border: 2px;
border-style: dashed;
border-color: #fff;
}
@font-face {
font-family: 'ARCADECLASSIC';
src: url(ARCADECLASSIC.TTF);
}
</style>
</head>
<body>
<input type="text" id='txt' placeholder="Name"/>
<button id='sub' onclick="play_game()">Play!</button>
</body>
</html>