-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>International Superstar Soccer</title>
<link rel="icon" href="../assets/images/International_Superstar_Soccer-favicon.png">
<link rel="stylesheet" href="./CSS/intro.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Sixtyfour+Convergence&display=swap" rel="stylesheet">
</head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
display: block;
width: 100%;
height: 100vh;
}
#audio {
display: none;
}
</style>
<body>
<img src="./assets/images/intropage.png" alt="">
<script>
document.addEventListener("DOMContentLoaded", function() {
const img = document.querySelector("img");
img.style.opacity = 0;
img.style.transition = "opacity 2s";
setTimeout(() => {
img.style.opacity = 1;
}, 100);
document.addEventListener("keydown", function() {
img.style.opacity = 0;
setTimeout(() => {
window.location.href = "./HTML/intro.html";
}, 1000);
});
});
</script>
</body>
</html>