-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
77 lines (68 loc) · 2.25 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<title>3D Pacman</title>
<link rel="shortcut icon" href="favicon.png">
<!-- 글꼴 적용 -->
<meta charset="utf-8">
<link href="font/fontStyle.css" rel="stylesheet">
<!-- 배경색 적용 -->
<style>
body {
background-color: #000000;
color: #FFFFFF;
}
</style>
<!-- 여러 가지 적용 -->
<style>
#title {
text-align: center;
margin-top: 40px;
color: #ffd400;
font-size: 4em;
width: 100%;
}
#pacmanImage {
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
width: 100%;
}
#button {
text-align: center;
margin-top: 40px;
width: 100%;
}
.button {
background-color: rgb(122, 241, 92);
border: none;
color: black;
font-family: "bing";
font-size: 30px;
padding: 20px 60px;
text-align: center;
text-decoration: none;
margin-left: 16px;
margin-right: 16px;
cursor: pointer;
}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
.button:hover {background-color: tomato}
</style>
</head>
<body>
<audio id="bgmPlayer" loop autoplay>
<source src="./audio/sound_intro.mp3" type="audio/mp3">
</audio>
<div id = "title"> <span>3D PACMAN</span> </div>
<div id = "pacmanImage"> <img src="image/pacman.png" width = "200px" height = "200px"> </div>
<div id = "button">
<input type = "button" value= "GAME START" class = "button" onClick="location.href='game.html'"></button>
<input type = "button" value = "How to Play" class = "button" onClick="location.href='howToPlay.html'"></button>
</div>
</body>
</html>