江枫修复界面(有bog)edit icon

Fork(复制)
下载
嵌入
设置
BUG反馈
index.html
现在支持上传本地图片了!
            
            <!DOCTYPE html>

/* 这个代码我调试上百遍了,就是仍有动画不正常问题,各位大佬帮忙看看怎么回事 /*

<html>
<head>
    <style>
        :root {
            --dot-colors: #ff6b6b, #ff9f43, #feca57, #2ed573, #1e90ff, #a55eea;
            --dot-size: 32px;
            --jump-height: 60px;
            --anim-duration: 1.6s;
        }

        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.96);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* 优化后的流动文字 */
        .smooth-text {
            font-family: 'Arial Black', sans-serif;
            font-size: 3.2rem;
            margin-bottom: 2.5rem;
            background: linear-gradient(
                90deg,
                var(--dot-colors)
            );
            background-size: 300% auto;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradient-flow 8s linear infinite;
            opacity: 0.9;
        }

        /* 物理引擎模拟容器 */
        .physics-dots {
            display: flex;
            gap: 1.8rem;
            height: calc(var(--jump-height) + var(--dot-size));
            position: relative;
        }

        /* 拟真动画圆点 */
        .physics-dot {
            width: var(--dot-size);
            height: var(--dot-size);
            border-radius: 50%;
            position: relative;
            animation: 
                physics-jump var(--anim-duration) cubic-bezier(0.28, 0.84, 0.42, 0.96) infinite,
                smooth-rotate 5.2s linear infinite;
            background: radial-gradient(
                circle at 65% 35%,
                rgba(255,255,255,0.9),
                rgba(255,255,255,0.3)
            );
            box-shadow: 0 4px 18px rgba(0,0,0,0.2);
        }

        /* 颜色核心层 */
        .physics-dot::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: conic-gradient(var(--dot-colors));
            mix-blend-mode: multiply;
            animation: color-flow 7s linear infinite;
        }

        /* 精确的动画相位控制 */
        .physics-dot:nth-child(1) { animation-delay: -0.15s; }
        .physics-dot:nth-child(2) { animation-delay: -0.30s; }
        .physics-dot:nth-child(3) { animation-delay: -0.45s; }
        .physics-dot:nth-child(4) { animation-delay: -0.60s; }
        .physics-dot:nth-child(5) { animation-delay: -0.75s; }
        .physics-dot:nth-child(6) { animation-delay: -0.90s; }

        /* 关键帧动画系统 */
        @keyframes gradient-flow {
            0% { background-position: 0% 50%; }
            100% { background-position: 300% 50%; }
        }

        @keyframes physics-jump {
            0%, 100% { 
                transform: translateY(0) scale(1);
                animation-timing-function: cubic-bezier(0.33, 0, 0.67, 0);
            }
            45% {
                transform: translateY(calc(-1 * var(--jump-height))) scale(1.15);
                animation-timing-function: cubic-bezier(0.33, 1, 0.67, 1);
            }
            55% {
                transform: translateY(calc(-1 * var(--jump-height) * 0.98)) scale(1.13);
            }
        }

        @keyframes smooth-rotate {
            100% { transform: rotate(360deg); }
        }

        @keyframes color-flow {
            100% { transform: rotate(-540deg); }
        }

        /* 性能优化层 */
        .physics-dot {
            will-change: transform, opacity;
            backface-visibility: hidden;
        }
    </style>
</head>
<body>
    <div class="loader-container">
        <div class="smooth-text">江枫开发者正在修复呢</div>
        <div class="physics-dots">
            <div class="physics-dot"></div>
            <div class="physics-dot"></div>
            <div class="physics-dot"></div>
            <div class="physics-dot"></div>
            <div class="physics-dot"></div>
            <div class="physics-dot"></div>
        </div>
    </div>
</body>
</html>
        
预览
控制台