-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathloading-end.html
83 lines (77 loc) · 1.96 KB
/
loading-end.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
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>로딩 완료 화면</title>
<style>
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
body {
font-family: "Noto Sans KR", sans-serif;
align-items: center;
background-color: #faf9f5;
margin: 0;
display: flex;
justify-content: center;
height: 100vh;
}
.main-form {
width: 390px;
height: 844px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.header {
text-align: center;
position: relative;
top: 50px;
}
#text1 {
font-size: 25px;
font-weight: 600;
color: #4b2a0b;
}
#text2 {
font-size: 20px;
font-weight: 600;
color: #885c33;
}
.pepero-img img {
position: relative;
top: -20%;
height: 488px;
}
</style>
</head>
<body>
<section class="main-form">
<div class="header">
<p id="text1">전송 완료!</p>
<p id="text2">빼빼로가 친구집에 놀러갔어요!</p>
</div>
<div class="pepero-img">
<!-- Replace the src attribute with the correct path to your image -->
<img src="img/pepero-letter.png" alt="빼빼로 편지 이미지" />
</div>
</section>
<script>
// DOM이 완전히 로드된 후 실행될 함수
window.onload = function () {
// 3000밀리초(3초) 후에 실행될 함수를 setTimeout을 이용하여 설정
setTimeout(function () {
// 편지 보관함으로 리다이렉트
window.location.href = "pepero_list.html";
}, 3000);
};
</script>
</body>
</html>