premium_web_design

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Premium Web Design Principles

高端网页设计原则

This skill outlines the key elements required to create "wow" factor, premium web applications.
本技能概述了打造具有“惊艳”效果的高端网页应用所需的关键要素。

1. Typography

1. 排版

  • Font Choice: Use modern, geometric sans-serifs (e.g., Inter, Outfit, Manrope) or elegant serifs for headings. Avoid default system fonts unless intentionally styled.
  • Hierarchy: Establish clear scale (h1 vs p). Use extreme contrast in size (huge headlines, small refined labels).
  • Spacing: Generous line-height (1.5-1.7 for body). tracking-tight for large headings to make them feel solid.
  • 字体选择:使用现代几何无衬线字体(如Inter、Outfit、Manrope)或优雅的衬线字体作为标题。除非是有意设计,否则避免使用默认系统字体。
  • 层级结构:建立清晰的尺寸比例(h1与p标签对比)。使用极端的字号对比(超大标题、小巧精致的标签)。
  • 间距:正文使用宽松的行高(1.5-1.7)。大标题使用紧凑字距,使其看起来更扎实。

2. Color & Depth

2. 色彩与深度

  • Palette: Use a curated palette. Avoid pure black (#000000) or pure white (#FFFFFF) for backgrounds; use off-blacks (#0a0a0a) or soft creams (#fafafa).
  • Gradients: Use subtle, noise-textured gradients rather than flat linear ones.
  • Glassmorphism: Use backdrop-filter blur for overlays and navbars.
    css
    .glass {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
  • 调色板:使用精心搭配的调色板。背景避免使用纯黑(#000000)或纯白(#FFFFFF),改用近黑色(#0a0a0a)或柔奶油色(#fafafa)。
  • 渐变:使用微妙的带噪点纹理渐变,而非扁平线性渐变。
  • 毛玻璃效果:为遮罩和导航栏使用backdrop-filter模糊效果。
    css
    .glass {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

3. Motion & Interaction (Framer Motion)

3. 动效与交互(Framer Motion)

  • Micro-interactions: Buttons should scale or glow on hover.
  • Page Transitions: Smooth fade/slide between routes.
  • Scroll Animations: Elements should fade up or reveal as they enter the viewport.
    typescript
    <motion.div
      initial={{ opacity: 0, y: 20 }}
      whileInView={{ opacity: 1, y: 0 }}
      viewport={{ once: true }}
      transition={{ duration: 0.6 }}
    >
  • 微交互:按钮在悬停时应缩放或发光。
  • 页面过渡:路由间使用平滑的淡入/滑动过渡效果。
  • 滚动动画:元素进入视口时应淡入上移或逐步显示。
    typescript
    <motion.div
      initial={{ opacity: 0, y: 20 }}
      whileInView={{ opacity: 1, y: 0 }}
      viewport={{ once: true }}
      transition={{ duration: 0.6 }}
    >

4. Layout & Rhythm

4. 布局与节奏

  • Grid: Adhere to a strict grid system but break it intentionally for interest.
  • Whitespace: Use whitespace (padding/margin) aggressively. "Premium" means space to breathe.
  • Bento Grids: Use boxy, card-based layouts for feature showcases.
  • 网格系统:遵循严格的网格系统,但可有意打破规则以增加趣味。
  • 留白:大胆使用留白(内边距/外边距)。“高端”意味着有呼吸的空间。
  • 便当式网格:使用盒状卡片式布局展示功能特性。

5. Imagery

5. 图像

  • Quality: Use high-res, optimized images (WebP).
  • Styling: Rounded corners (e.g.,
    rounded-2xl
    or
    rounded-3xl
    for that modern feel).
  • Parallax: Subtle scroll parallax on background images adds depth.
  • 画质:使用高分辨率、经过优化的图片(WebP格式)。
  • 样式:使用圆角(如
    rounded-2xl
    rounded-3xl
    以营造现代感)。
  • 视差效果:背景图片添加微妙的滚动视差效果以增加深度。