-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path7th_floor_hallway.html
64 lines (58 loc) · 1.92 KB
/
7th_floor_hallway.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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>센티멘탈 호텔 ::: 7층 복도</title>
<link rel="stylesheet" type="text/css" href="./css/reset.css">
<link rel="stylesheet" type="text/css" href="./css/common.css">
<!-- <link rel="stylesheet" type="text/css" href="./css/7th_floor.css"> -->
<link href="https://fonts.googleapis.com/css?family=Noto+Serif+KR:400,700&display=swap&subset=korean" rel="stylesheet">
<script src="https://kit.fontawesome.com/296406b34b.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<style>
.container {
background-image: url("image/7th_floor/복도.jpg");
}
.light {
position:absolute;
top: 6.2vw;
left: 29.4vw;
width: 40vw;
animation: fade-in-out 2s 2s ease-in-out infinite alternate backwards;
}
@keyframes fade-in-out {
0% {opacity: 1;}
100% {opacity: 0.8;}
}
.nextStage {
position: absolute;
top: 20vw;
left: 50%;
transform: translateX(-50%);
width: 10vw;
height: 20vw;
/* border: black 1px solid */
}
</style>
</head>
<body>
<div class="fade-box"></div>
<div class="container">
<a href="7th_floor_hallway2.html">
<img class="light gifhover" src="image/7th_floor/가운데빛.png">
</a>
</div>
<script>
$('.fade-box').fadeOut(2000);
$('a').click(function(event){
event.preventDefault();
$('.fade-box').delay(400).fadeIn(2000);
setTimeout(function() {
window.location = $('a').attr('href');
}, 2400);
})
</script>
</body>
</html>