-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (68 loc) · 2.69 KB
/
index.html
File metadata and controls
81 lines (68 loc) · 2.69 KB
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
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Happy Birthday</title>
<link rel="stylesheet" href="css/lib/bootstrap.min.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<!-- 封面 -->
<div class="container">
<div class="row">
<div class="birth-cover-container">
<button id="birth-start-btn" disabled>加载中...</button>
</div>
</div>
</div>
<!-- 歌曲 -->
<audio class="song" controls loop style="display: none; opacity: 0">
<source src="music/index.mp3" />
</audio>
<!-- 彩带 -->
<canvas id="brith-confetti"></canvas>
<!-- 主内容 -->
<div class="main">
<div class="container pt-5">
<div class="row">
<!-- 横幅图 -->
<div class="col-12 col-xl-6 mx-auto">
<img src="img/banner.png" alt="banner.png">
</div>
<!-- 寿星 -->
<div class="col-12 text-center">
<div id="name" class="birth-people-name">Lily</div>
</div>
<!-- 祝词 -->
<div class="col-12 text-center">
<div class="birth-greeting-word">
<div id="greeting-word" class="typing">
<h2><span>生日快乐呀,</span><i id="inline-name" class="birth-inline-people-name">莉莉</i><span id="people-type">小姐姐</span></h2>
<h2>且喜且乐,且以永日</h2>
<h2>一寸一礼,一寸欢喜</h2>
<h2>遥叩芳辰,生辰吉乐</h2>
</div>
<span id="typed" style="white-space: pre;"></span>
</div>
</div>
<!-- 蛋糕图 -->
<div class="col-12 col-xl-3 birth-cake">
<img src="img/cake.gif" alt="cake.gif">
</div>
<!-- 版权 -->
<div class="col-12 text-center">
<span class="birth-greeting-word" id="author">©2024 Spring-_-Bear</span>
</div>
</div>
</div>
<!-- 气球图 -->
<img src="img/balloon.png" alt="balloon" class="brith-balloon">
</div>
<script src="js/lib/snowflakes.min.js"></script>
<script src="js/lib/jquery.min.js"></script>
<script src="js/lib/typed.min.js"></script>
<script src="js/lib/dayjs.min.js"></script>
<script src="js/confetti.js"></script>
<script src="js/index.js"></script>
</body>
</html>