-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (35 loc) · 1007 Bytes
/
index.html
File metadata and controls
43 lines (35 loc) · 1007 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Tetris </title>
<style>
body {
background: url( 'img/backgd.png' );
}
h1 {
font-family: 'Fira Sans';
letter-spacing: 7px;
color: #fff;
text-align: center;
text-shadow: 0 0 2px rgba( 0, 0, 0, 0.8 );
text-transform: uppercase;
}
canvas {
display: block;
margin: 20px auto;
border: 1px solid rgba( 0, 50, 100, 0.4 );
box-shadow: 0 0 20px 0 rgba( 0, 0, 0, 0.4 );
}
::selection {
background: transparent;
}
</style>
</head>
<body>
<h1> Tetris </h1>
<canvas id="game" width="428" height="412"> </canvas>
<script src="tetris.js"></script>
<script src="game.js"></script>
</body>
</html>