-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (69 loc) · 2.04 KB
/
index.html
File metadata and controls
82 lines (69 loc) · 2.04 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>TP2-MiniProjet-Hockey</title>
<style>
body {
margin: 0px;
padding: 0px;
}
#fondDemarrer,
#monFond,
#but,
#poigneeJoueur,
#poigneeAdversaire,
#ballon,
#score
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#tutoriel
{
position: absolute;
top: 105%;
left: 50%;
transform: translate(-50%, -50%);
}
.bouton {
background-color: #f4511e;
border: none;
border-radius: 12px;
color: white;
padding: 16px 32px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
opacity: 0.6;
transition: 0.3s;
display: inline-block;
text-decoration: none;
cursor: pointer;
}
#BoutonDemarrer:hover {
opacity: 1
}
#BoutonDemarrer{
position: absolute;
bottom: 50px;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<canvas id="fondDemarrer" width="1020" height="480"></canvas>
<canvas id="monFond" width="1020" height="480"></canvas>
<canvas id="but" width="1020" height="480"></canvas>
<canvas id="poigneeJoueur" width="1020" height="480"></canvas>
<canvas id="poigneeAdversaire" width="1020" height="480"></canvas>
<canvas id="ballon" width="1020" height="480"></canvas>
<canvas id="score" width="1020" height="480"></canvas>
<canvas id="tutoriel" width="840" height="250"></canvas>
<button class="bouton" id="BoutonDemarrer">Demarrer</button>
<script type="module" src="./js/prgTP2.js"></script>
</body>
</html>