-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (47 loc) · 1.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Breakout Game</title>
<style>
body {
display: flex;
align-items: center;
justify-content: center;
background-color: black;
}
canvas {
border: 1px solid black;
background-color: aqua;
margin-top: 70px;
}
/* #gameovr{
width: 300px;
height: 300px;
cursor: pointer;
position: absolute;
display: none;
}
#restart{
position:absolute;
cursor: pointer;
top: 310px;
left: 155px;
font-size: 1.2rem;
color:black;
cursor: pointer;
background-color: aqua;
} */
</style>
</head>
<body>
<div class="start-game">
<canvas id="canva" width="400" height="500"></canvas>
<script src="part.js"></script>
</div>
<!-- <div id="gameovr">
<div id="restart" >play again</div>
</div>-->
</body>
</html>