-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage1.html
executable file
·55 lines (50 loc) · 1.42 KB
/
page1.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
<html>
<head>
<script src="https://code.createjs.com/1.0.0/easeljs.min.js"></script>
<script src="https://code.createjs.com/1.0.0/tweenjs.min.js"></script>
<script src="https://code.createjs.com/1.0.0/soundjs.min.js"></script>
<script src="https://code.createjs.com/1.0.0/preloadjs.min.js"></script>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
<script language="javascript" src="script/page1.js"></script>
<style>
body {
margin: 0;
padding: 15px;
background-color: #fff;
}
canvas{
/* background-color: #fff; */
background-image: url("image/container1.jpg");
background-size: contain;
opacity: 0.9;
display: block;
margin: 0px auto 0px auto;
padding-left: 0;
padding-right: 0;
}
button {
background-color: white;
color: black;
border: 2px solid #555555;
position: absolute;
top: 550;
left: 40;
font-size: 20px;
margin: 5px 10px;
transition-duration: 0.4s;
cursor: pointer;
padding: 7px 15px;
z-index: 1;
}
button:hover {
background-color: #555555;
color: white;
}
</style>
</head>
<body onload="init()">
<canvas id="stage-canvas" width="1200" height="600">
</canvas>
<button class="button" type="button" onclick="window.location.href='page2.html'">next <i class='far fa-hand-point-right'></i></button>
</body>
</html>