返回 AiToEarn
splash.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 margin: 0;
7 padding: 0;
8 display: flex;
9 justify-content: center;
10 align-items: center;
11 height: 100vh;
12 /* background: var(--whiteColor1); */
13 overflow: hidden;
14 }
15 .splash-container {
16 display: flex;
17 flex-direction: column;
18 align-items: center;
19 justify-content: center;
20 }
21 .splash-image {
22 width: 300px;
23 height: 300px;
24 object-fit: contain;
25 animation: fadeInAndScale 1.5s ease-out;
26 }
27 .splash-title {
28 margin-top: 20px;
29 font-size: 24px;
30 font-weight: 600;
31 background: linear-gradient(135deg, #C367EF 0%, #64C9ED 100%);
32 -webkit-background-clip: text;
33 -webkit-text-fill-color: transparent;
34 animation: fadeIn 1.5s ease-out;
35 }
36 @keyframes fadeInAndScale {
37 0% {
38 opacity: 0;
39 transform: scale(0.8);
40 }
41 50% {
42 opacity: 1;
43 transform: scale(1.1);
44 }
45 100% {
46 opacity: 1;
47 transform: scale(1);
48 }
49 }
50 @keyframes fadeIn {
51 from {
52 opacity: 0;
53 transform: translateY(10px);
54 }
55 to {
56 opacity: 1;
57 transform: translateY(0);
58 }
59 }
60 </style>
61 </head>
62 <body>
63 <div class="splash-container">
64 <img
65 src="assets/splash.png"
66 class="splash-image"
67 alt="启动图"
68 onerror="console.error('Failed to load splash image')"
69 />
70 <div class="splash-title">哎哟赚</div>
71 </div>
72 <script>
73 console.log('Splash HTML loaded');
74 document.querySelector('.splash-image').onload = () => {
75 console.log('Splash image loaded');
76 };
77 </script>
78 </body>
79 </html>
79 lines HTML