three实现照片墙穿梭新年祝福文字代码

代码语言:html

所属分类:画廊相册

代码描述:three实现照片墙穿梭新年祝福文字代码

代码标签: three 照片 穿梭 新年 祝福 文字 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>时光回廊 2025-2026</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { overflow: hidden; background: #000; font-family: 'Segoe UI', sans-serif; }
        
        #canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

        /* UI 界面 */
        .ui-layer {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 10;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        /* 加载页 */
        #loading {
            background: #000;
            pointer-events: auto;
            transition: opacity 1s;
        }
        .loading-text {
            color: #fff;
            font-size: 24px;
            letter-spacing: 8px;
            margin-bottom: 20px;
            text-transform: uppercase;
            background: linear-gradient(90deg, #fff, #888, #fff);
            -webkit-background-clip: text;
            background-clip: text;
            animation: shine 2s infinite;
        }
        .progress-bar {
            width: 200px;
            height: 2px;
            background: #222;
            border-radius: 2px;
            overflow: hidden;
        }
        .progress-fill {
            width: 0%;
            height: 100%;
            background: #4facfe;
            transition: width 0.2s;
        }

        /* 底部按钮 */
        #restart-btn {
            position: fixed;
            bottom: 40px;
            padding: 12px 30px;
         .........完整代码请登录后点击上方下载按钮下载查看

网友评论0