返回风格库
视觉风格retro

千禧风格

Y2K

2000年代初的未来主义美学,金属质感、透明塑料、气泡元素、银色和彩虹渐变,充满对数字时代的乐观想象。

千禧风格视觉预览
主色#c0c0c0
次色#ff69b4
强调色 1#00ffff
强调色 2#ff00ff
强调色 3#87ceeb
强调色 4#93c4ff

AI 实现规则

你是一个 Y2K 设计风格的前端开发专家。生成的所有代码必须严格遵守以下约束:

## 绝对禁止

- 使用暗沉、灰暗的配色
- 使用过于扁平的设计
- 省略光泽和反光效果
- 使用尖锐的直角

## 必须遵守

- 金属渐变 bg-gradient-to-b from-gray-200 via-white to-gray-300
- 圆润造型 rounded-full, rounded-3xl
- 透明效果 bg-white/60 backdrop-blur
- 彩虹渐变 from-pink-400 via-purple-400 to-cyan-400
- 气泡/球体装饰元素

## 配色

主色调:
- 银色: #c0c0c0, from-gray-300
- 粉色: #ff69b4, from-pink-400
- 青色: #00ffff, from-cyan-400
- 紫色: #ff00ff, from-purple-400

## 装饰元素

- 星星/闪光装饰
- 气泡球体
- 彩虹渐变
- 透明塑料质感

## 动效与交互规则

- 液态金属(Chrome Liquid):交互必须传达"液态金属"或"塑料果冻"质感。悬停时金属渐变通过高亮内阴影增强(如 `hover:shadow-[inset_0_4px_8px_rgba(255,255,255,1)]`),模拟光泽在金属表面滑过的 3D 反光感。
- 气泡弹跳(Bubble Pop):Y2K 充满乐观和玩具感。必须使用弹性自定义缓动 `ease-[cubic-bezier(0.34,1.56,0.64,1)]`,悬停时夸张放大(`hover:scale-105` 或 `hover:-translate-y-1`),点击时如果冻般挤压(`active:scale-90`)。
- 镭射炫光(CD Glare):阴影颜色必须使用高饱和度青色(#00ffff)和粉色(#ff69b4)的混合光晕,模拟 CD 光盘的镭射反光。禁止使用黑色阴影。
- 熔岩灯效果:卡片内的圆形气泡装饰在悬停时产生非对称移动或拉伸,就像熔岩灯中的液滴上升。

## Layout & Spacing
- Section padding: py-16 md:py-24
- Card padding: p-6 md:p-8
- Gap between cards: gap-6 md:gap-8
- Max content width: max-w-6xl mx-auto

## Responsive Design
- Mobile-first approach with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), row on desktop (md:flex-row)
- Reduce font sizes on mobile: text-3xl md:text-5xl for headings
- Touch-friendly targets: min 44px for interactive elements

## Self-Check Verification
After generating code, verify:
1. All interactive elements have hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout is responsive across breakpoints
4. Typography hierarchy is clear (h1 > h2 > h3 > body)
5. Spacing is consistent using the defined scale
6. All animations respect prefers-reduced-motion

组件预览与实现

font-bold rounded-full border border-white/50 transition-all duration-300 bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400 text-white shadow-[0_4px_20px_rgba(255,105,180,0.4)] hover:scale-105 hover:shadow-[0_6px_30px_rgba(255,105,180,0.6)] active:scale-[0.98]
button

按钮

Y2K风格按钮,金属光泽

<button className="px-10 py-4 bg-gradient-to-b from-gray-100 via-white to-gray-300 rounded-full text-[#ff1493] font-black uppercase tracking-widest border-2 border-white shadow-[0_5px_15px_rgba(0,255,255,0.4),inset_0_2px_4px_rgba(255,255,255,1)] hover:shadow-[0_10px_25px_rgba(255,20,147,0.5),inset_0_4px_8px_rgba(255,255,255,1)] hover:-translate-y-1 hover:scale-105 active:scale-90 active:shadow-[0_2px_5px_rgba(0,255,255,0.4)] transition-all duration-300 ease-[cubic-bezier(0.34,1.56,0.64,1)]">
  Cyber Love
</button>
card

卡片

Y2K风格卡片,透明气泡感

<div className="group p-8 bg-gradient-to-br from-white/70 to-[#ff69b4]/20 backdrop-blur-xl rounded-[2.5rem] border-2 border-white shadow-[0_10px_30px_rgba(0,255,255,0.2)] hover:shadow-[0_15px_40px_rgba(255,105,180,0.3)] hover:-translate-y-2 transition-all duration-300 ease-[cubic-bezier(0.34,1.56,0.64,1)] relative overflow-hidden">
  <div className="absolute -top-4 -right-4 w-16 h-16 rounded-full bg-gradient-to-tr from-[#00ffff] to-[#ff69b4] blur-md opacity-60 group-hover:scale-150 group-hover:translate-x-2 transition-transform duration-500 ease-out" />
  <div className="absolute -bottom-6 -left-6 w-24 h-24 rounded-full bg-gradient-to-tr from-[#b142fe] to-[#00ffff] blur-lg opacity-40 group-hover:scale-125 group-hover:-translate-y-4 transition-transform duration-500 ease-out" />
  <div className="relative z-10">
    <div className="w-12 h-12 bg-white rounded-full flex items-center justify-center mb-4 shadow-[inset_0_2px_4px_rgba(0,0,0,0.1)] group-hover:rotate-12 transition-transform">
      <div className="w-6 h-6 rounded-full bg-gradient-to-r from-[#ff69b4] to-[#00ffff]" />
    </div>
    <h3 className="text-3xl font-black text-transparent bg-clip-text bg-gradient-to-r from-[#ff69b4] via-[#b142fe] to-[#00ffff] mb-3 group-hover:tracking-wider transition-all duration-300">
      FUTURE IS NOW
    </h3>
    <p className="text-gray-700 font-bold leading-relaxed">
      Welcome to the new millennium. Glossy buttons, iridescent glows, absolute digital optimism.
    </p>
  </div>
</div>
input

输入框

Y2K风格输入框

<input
  type="text"
  placeholder="Type here..."
  className="
    w-full px-6 py-4
    bg-gradient-to-b from-white to-gray-100
    rounded-full
    border border-gray-200
    text-gray-700 placeholder-gray-400
    shadow-[inset_0_2px_4px_rgba(0,0,0,0.05)]
    focus:border-pink-300
    focus:shadow-[inset_0_2px_4px_rgba(0,0,0,0.05),0_0_0_3px_rgba(255,105,180,0.2)]
    focus:outline-none
    transition-all
  "
/>
hero

Hero 区块

Y2K风格 Hero

<section className="
  min-h-screen
  flex items-center justify-center
  bg-gradient-to-br from-pink-100 via-white to-cyan-100
  relative overflow-hidden
">
  {/* Floating bubbles */}
  <div className="absolute top-20 left-20 w-32 h-32 rounded-full bg-gradient-to-br from-pink-200/50 to-transparent blur-xl" />
  <div className="absolute bottom-32 right-32 w-48 h-48 rounded-full bg-gradient-to-br from-cyan-200/50 to-transparent blur-xl" />

  <div className="relative z-10 text-center px-6">
    <div className="inline-flex items-center justify-center mb-6">
      <div className="h-16 w-16 rounded-full bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400 p-[2px] shadow-[0_10px_40px_rgba(255,105,180,0.35)]">
        <div className="h-full w-full rounded-full bg-white/70 backdrop-blur-sm flex items-center justify-center">
          <div className="h-6 w-6 rotate-45 rounded-sm bg-gradient-to-r from-pink-400 to-cyan-400 opacity-90" />
        </div>
      </div>
    </div>
    <h1 className="text-5xl md:text-7xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400 mb-6">
      Y2K AESTHETIC
    </h1>
    <p className="text-xl text-gray-500 mb-8">
      The future is bright and shiny
    </p>
    <button className="
      px-10 py-4
      bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400
      rounded-full
      text-white font-bold
      shadow-[0_4px_20px_rgba(255,105,180,0.4)]
      hover:shadow-[0_6px_30px_rgba(255,105,180,0.6)]
      hover:scale-105
      transition-all
    ">
      Enter the Future
    </button>
  </div>
</section>

交互展示

适用范围与设计理念

应用场景

creativemarketingeditorial

视觉关键词

retroY2K千禧未来主义金属透明气泡2000年代retrovintagenostalgic

Y2K(千禧风格)是1990年代末至2000年代初的设计美学,反映了人们对新千年和数字未来的乐观想象。

核心理念:

- 未来感:对数字时代的乐观憧憬

- 金属质感:银色、铬合金、反光材质

- 透明元素:透明塑料、气泡、水滴效果

- 彩虹渐变:全息效果、彩虹反光

设计原则:

- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调

- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级

- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈

- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验

- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

应该这样做

  • 使用银色/金属渐变 bg-gradient-to-r from-gray-300 via-white to-gray-300
  • 添加气泡/球体装饰元素
  • 使用透明/半透明效果 bg-white/30 backdrop-blur
  • 彩虹渐变文字效果
  • 圆润的未来感造型 rounded-full
  • 添加星星、闪光装饰

避免这样做

  • 禁止使用暗沉的配色
  • 禁止使用过于扁平的设计
  • 禁止省略光泽/反光效果
  • 禁止使用粗糙的纹理

全局 CSS

/* Y2K 全局样式 */

:root {
  --y2k-silver: #c0c0c0;
  --y2k-pink: #ff69b4;
  --y2k-cyan: #00ffff;
  --y2k-purple: #ff00ff;
}

/* 金属光泽效果 */
.y2k-metallic {
  background: linear-gradient(
    135deg,
    #e8e8e8 0%,
    #ffffff 25%,
    #e8e8e8 50%,
    #ffffff 75%,
    #e8e8e8 100%
  );
}

/* 彩虹渐变文字 */
.y2k-rainbow-text {
  background: linear-gradient(90deg, #ff69b4, #00ffff, #ff00ff, #ff69b4);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  to { background-position: 200% center; }
}

/* 气泡效果 */
.y2k-bubble {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent);
  border-radius: 50%;
}
.y2k-card {
  position: relative;
  overflow: hidden;
}

.y2k-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), transparent);
  pointer-events: none;
}

.y2k-card:hover::before {
  opacity: 1;
}

.y2k-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(192, 192, 192, 0.08);
}

.y2k-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.y2k-animate-in {
  animation: y2k-fade-in 0.5s ease-out both;
}

布局、色板与 Tokens

主色#c0c0c0
次色#ff69b4
强调色 1#00ffff
强调色 2#ff00ff
强调色 3#87ceeb
强调色 4#93c4ff
{
  "border": {
    "width": "border-2",
    "color": "border-[#c0c0c0]",
    "radius": "rounded-2xl",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-[0_2px_8px_rgba(255,105,180,0.3)] md:shadow-[0_4px_12px_rgba(255,105,180,0.3)]",
    "md": "shadow-[0_4px_16px_rgba(255,105,180,0.4)] md:shadow-[0_6px_24px_rgba(255,105,180,0.4)]",
    "lg": "shadow-[0_8px_32px_rgba(255,105,180,0.5)] md:shadow-[0_12px_48px_rgba(255,105,180,0.5)]",
    "none": "shadow-none",
    "hover": "hover:shadow-[0_8px_32px_rgba(192,192,192,0.6)]",
    "focus": "focus:shadow-[0_4px_20px_rgba(255,105,180,0.5)]",
    "colored": {
      "pink": "shadow-[0_4px_20px_rgba(255,105,180,0.5)]",
      "silver": "shadow-[0_4px_20px_rgba(192,192,192,0.5)]",
      "blue": "shadow-[0_4px_20px_rgba(0,191,255,0.5)]"
    }
  },
  "interaction": {
    "transition": "transition-all duration-300 ease-out",
    "active": "active:scale-95",
    "hoverScale": "hover:scale-105"
  },
  "typography": {
    "heading": "font-bold tracking-wide",
    "body": "font-sans",
    "mono": "font-mono",
    "sizes": {
      "hero": "text-4xl md:text-6xl lg:text-7xl",
      "h1": "text-3xl md:text-5xl",
      "h2": "text-2xl md:text-3xl",
      "h3": "text-xl md:text-2xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-10 md:py-20 lg:py-28",
    "container": "px-4 md:px-8 lg:px-12",
    "card": "p-5 md:p-7",
    "gap": {
      "sm": "gap-2 md:gap-4",
      "md": "gap-4 md:gap-6",
      "lg": "gap-6 md:gap-8"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-gradient-to-br from-[#e0e0e0] to-[#f5f5f5]",
      "secondary": "bg-[#c0c0c0]",
      "accent": [
        "bg-[#ff69b4]",
        "bg-[#00bfff]",
        "bg-[#c0c0c0]",
        "bg-[#ff6ec7]"
      ]
    },
    "text": {
      "primary": "text-[#333333]",
      "secondary": "text-[#ff69b4]",
      "muted": "text-[#808080]"
    },
    "button": {
      "primary": "bg-gradient-to-r from-[#ff69b4] to-[#ff6ec7] text-white",
      "secondary": "bg-gradient-to-b from-[#e8e8e8] to-[#c0c0c0] text-[#333333]",
      "danger": "bg-red-500 text-white"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-none",
      "rounded-sm",
      "border-black",
      "border-4",
      "bg-[#1a1a2e]",
      "bg-black",
      "text-black",
      "shadow-[2px_2px_0px",
      "shadow-[4px_4px_0px",
      "font-black",
      "font-mono",
      "bg-amber-",
      "bg-stone-",
      "bg-yellow-900"
    ],
    "patterns": [
      "^rounded-none$",
      "^shadow-\\[\\d+px_\\d+px_0px",
      "^bg-amber-",
      "^bg-stone-",
      "^bg-yellow-(?:[7-9])",
      "^text-amber-"
    ],
    "reasons": {
      "rounded-none": "Y2K uses bubble-like rounded shapes (rounded-2xl or rounded-full)",
      "border-black": "Y2K uses metallic silver borders, not solid black",
      "shadow-[4px_4px_0px": "Y2K uses soft metallic/pink glowing shadows, not hard-edge",
      "bg-amber-700": "Y2K avoids muted earth tones, uses pinks and silvers"
    }
  },
  "required": {
    "button": [
      "rounded-2xl",
      "border-2 border-[#c0c0c0]",
      "shadow-[0_4px_16px_rgba(255,105,180,0.4)]",
      "hover:scale-105",
      "transition-all duration-300 ease-out",
      "font-bold"
    ],
    "card": [
      "rounded-2xl",
      "border-2 border-[#c0c0c0]",
      "shadow-[0_4px_16px_rgba(255,105,180,0.4)]",
      "bg-white/80"
    ],
    "input": [
      "rounded-2xl",
      "border-2 border-[#c0c0c0]",
      "bg-white",
      "focus:shadow-[0_4px_20px_rgba(255,105,180,0.5)]",
      "focus:outline-none"
    ]
  }
}

示例提示词

时尚品牌官网

千禧风格时尚网站

用 Y2K 风格创建一个时尚品牌官网,要求:
1. 背景:粉白渐变 + 气泡装饰
2. 导航:透明毛玻璃效果
3. 产品卡片:金属光泽边框
4. 按钮:圆润 + 彩虹渐变
5. 添加星星闪光装饰

SaaS 着陆页

生成 千禧风格风格的 SaaS 产品着陆页

Create a SaaS landing page using Y2K style with hero section, feature grid, testimonials, pricing table, and footer.

作品集展示

生成 千禧风格风格的作品集页面

Create a portfolio showcase page using Y2K style with project grid, about section, contact form, and consistent visual language.