Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
XXYoLoong committed Feb 9, 2024
1 parent e903702 commit f26cde1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>新年倒计时</title>
<link rel="stylesheet" href="styles.css">
</head>
Expand All @@ -10,7 +11,6 @@
<button id="previewButton">预览烟花效果</button>
<canvas id="fireworksCanvas"></canvas>
<div id="greetings" style="display: none;">新年快乐!</div>

<script src="script.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body, html {

body {
font-family: 'Arial', sans-serif;
background-image: url('../new-year-countdown/assets/a.png');
background-image: url('assets/a.png');
background-size: cover;
background-position: center; /* 确保背景图片居中显示 */
}
Expand Down

0 comments on commit f26cde1

Please sign in to comment.