three实现照片墙穿梭新年祝福文字代码
代码语言:html
所属分类:画廊相册
代码描述:three实现照片墙穿梭新年祝福文字代码
代码标签: three 照片 墙 穿梭 新年 祝福 文字 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2025 时光之旅 - 慢速回忆版</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
overflow: hidden;
background: #000;
font-family: 'Microsoft YaHei', sans-serif;
user-select: none;
}
/* 加载层 */
#loading {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: #000;
display: flex; flex-direction: column; align-items: center; justify-content: center;
z-index: 1000; transition: opacity 1s ease;
}
.loader-text {
color: #aaa; font-size: 14px; letter-spacing: 2px; margin-top: 15px;
animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: 0.5; } }
/* 白屏过场遮罩 */
#flash-overlay {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: #fff;
opacity: 0;
pointer-events: none;
z-index: 900;
transition: opacity 0.1s linear;
}
/* 文字层 */
#phase-text {
position: fixed; top: 45%; left: 50%;
transform: translate(-50%, -50%);
color: #fff; font-size: 3.5rem; font-weight: bold;
text-shadow: 0 0 30px rgba(255,255,255,0.8);
opacity: 0; pointer-events: none; z-index: 100;
transition: opacity 1s;
white-space: nowrap;
}
#restart-btn {
position: fixed; bottom: 50px; left: 50%;
transform: translateX(-50%);
padding: 10px 25px;
background: rgba(255,.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0