返回风格库
视觉风格expressive

反设计

Anti-Design

故意打破传统UI规范的粗野主义实验风格,极粗边框、高饱和色彩与不规则排版

反设计视觉预览
主色#000000
次色#FFFFFF
强调色 1#FF0000
强调色 2#0000FF
强调色 3#FFFF00
强调色 4#FF00FF
强调色 5#00FFFF
强调色 6#00FF00

AI 实现规则

You are an Anti-Design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Rounded corners of any kind (rounded-sm, rounded-md, rounded-lg, rounded-xl, rounded-full)
- Subtle or muted colors (grays, pastels, earth tones)
- Soft shadows (shadow-sm, shadow-md, shadow-lg, shadow-xl)
- Gradients of any kind (all colors must be flat high-saturation)
- Backdrop blur or translucency effects
- Consistent spacing or alignment that looks "designed"
- Harmonious color combinations

## Must Follow

- Borders: Always 4-8px solid black. Thicker on right and bottom for depth
- Border-radius: ALWAYS 0. Never round anything
- Colors: Only high-saturation primaries - #FF0000, #0000FF, #FFFF00, #FF00FF, #00FF00, #00FFFF
- Backgrounds: Alternate between white, yellow, and other bright colors per section
- Shadows: Hard offset only (e.g., shadow-[8px_8px_0_#000]). No soft shadows
- Text: Mix sizes dramatically. Use font-black weight. Uppercase for emphasis
- Layout: Intentionally break grid alignment. Rotate elements (-3deg to 5deg)
- Fonts: Bold sans-serif. Mix sizes within sections for visual tension
- White space: Can be either very tight or exaggerated - never "just right"

## Animation & Interaction Rules

- Aggressive hover only: abrupt color collisions, border-thickness jumps, and harsh offsets
- Broken layout on interaction is encouraged: alignment can intentionally fail on hover/focus
- Zero polish: use transition-none or linear with near-zero duration; no smooth easing curves
- Focus states should be louder than default states (thicker borders, stronger shadows, rotation/shift)

## Color Palette

Primary:
- Pure Black: #000000 (borders, text, shadows)
- Pure White: #FFFFFF (backgrounds)
- Red: #FF0000 (primary accent, buttons)
- Blue: #0000FF (secondary accent, focus states)
- Yellow: #FFFF00 (section backgrounds, highlights)
- Magenta: #FF00FF (accent)
- Cyan: #00FFFF (accent)
- Green: #00FF00 (accent)

## Special Elements

- Ultra-thick borders on every element
- Hard offset shadows with no blur
- Rotated/tilted elements for visual disruption
- Dramatically mixed font sizes
- Asymmetric border widths
- Alternating high-saturation section backgrounds

组件预览与实现

font-mono font-black uppercase rounded-none transition-all duration-100 bg-[#FF0000] text-white border-4 border-black hover:rotate-1 hover:scale-105 active:scale-95
button

按钮

Anti-Design 风格按钮 - 极粗黑边、硬偏移阴影、高饱和色

<button className="
  px-6 py-3
  bg-[#FF0000] text-white
  font-black text-xl uppercase
  border-4 border-black
  rounded-none
  shadow-[8px_8px_0_#000]
  hover:bg-[#0000FF] hover:text-[#FFFF00]
  hover:border-8 hover:shadow-[12px_12px_0_#000]
  hover:-translate-x-2 hover:rotate-3
  active:bg-[#FFFF00] active:text-black
  active:shadow-none active:translate-x-[8px] active:translate-y-[8px]
  transition-none
  cursor-help
">
  CLICK ME
</button>
card

卡片

Anti-Design 风格卡片 - 白底粗黑框硬偏移阴影

<div className="
  bg-white
  border-4 border-black
  p-6
  rounded-none
  shadow-[8px_8px_0_#000]
  hover:bg-[#FFFF00]
  hover:border-8
  hover:shadow-[12px_12px_0_#000]
  hover:-translate-x-2 hover:-translate-y-2
  hover:rotate-1
  transition-none
">
  <h3 className="text-2xl font-black uppercase mb-2">CARD TITLE</h3>
  <p className="text-sm font-bold text-black/70">Raw brutalist content block</p>
</div>
input

输入框

Anti-Design 风格输入框 - 极粗黑边、蓝色聚焦态

<input
  type="text"
  placeholder="TYPE HERE..."
  className="
    w-full px-4 py-3
    bg-white
    border-4 border-black
    rounded-none
    text-black font-black
    placeholder:text-gray-400
    focus:outline-none
    focus:bg-[#FFFF00]
    focus:border-8 focus:border-[#FF0000]
    focus:shadow-[16px_16px_0_#0000FF]
    focus:-translate-y-2 focus:rotate-1
    transition-none
  "
/>
nav

导航栏

Anti-Design 风格导航 - 白底粗黑完整边框

<nav className="
  bg-white
  border-4 border-black
  px-6 py-4
  flex items-center justify-between
">
  <span className="font-black text-xl uppercase">ANTI-DESIGN</span>
  <div className="flex gap-4">
    <a className="font-black text-sm uppercase hover:text-[#FF0000]">LINK</a>
  </div>
</nav>
hero

Hero 区块

Anti-Design 风格 Hero - 黄色底、巨大倾斜黑色标题、粗边框

<section className="
  bg-[#FFFF00]
  border-4 border-black
  py-20 px-6
">
  <h1 className="
    text-6xl md:text-9xl
    font-black uppercase
    text-black
    -rotate-2
  ">
    ANTI-DESIGN
  </h1>
  <p className="text-xl font-bold text-black/70 mt-4 max-w-xl">
    BREAK EVERY RULE. REJECT EVERY CONVENTION.
  </p>
</section>
footer

页脚

Anti-Design 风格页脚 - 黑底白字粗完整边框

<footer className="
  bg-black text-white
  border-4 border-white
  px-6 py-8
">
  <p className="font-black text-sm uppercase">ANTI-DESIGN STUDIO</p>
</footer>

交互展示

适用范围与设计理念

应用场景

creativeeditorial

视觉关键词

high-contrastbrutalismanti-designrawexperimentalboldpunkrebelliousexpressivevibrant表现力

Anti-Design deliberately breaks every UI convention. Where traditional design seeks harmony, Anti-Design seeks visual conflict.

Core principles:

- Ultra-thick black borders (4-8px) on every element

- Sharp corners only (border-radius: 0) - nothing is ever rounded

- High-saturation primary colors: red, blue, yellow, magenta, cyan, green

- Rotated text and elements at odd angles (-3deg to 5deg)

- Dramatically mixed font sizes within the same section

- Asymmetric, uneven borders (thicker on right/bottom)

- Intentional visual conflict between adjacent elements

- Hard offset shadows only - no soft shadows ever

应该这样做

  • Use ultra-thick black borders (4-8px) on everything
  • Use sharp corners only (border-radius: 0)
  • Apply high-saturation primary colors (red, blue, yellow, magenta)
  • Rotate text and elements at odd angles (-3deg to 5deg)
  • Mix font sizes dramatically within the same section
  • Use asymmetric, uneven borders (thicker on right/bottom)
  • Create intentional visual conflict between adjacent elements
  • Use hard offset shadows only (e.g., shadow-[8px_8px_0_#000])
  • Use font-black weight and uppercase for emphasis
  • Use aggressive hover states with abrupt color flips and border jumps
  • Break alignment on interaction using translate/rotate/size shifts
  • Prefer transition-none or linear timing for raw feedback

避免这样做

  • Don't use rounded corners of any kind
  • Don't use subtle or muted colors
  • Don't use consistent spacing or alignment
  • Don't use drop shadows or soft shadows
  • Don't use gradients (flat colors only)
  • Don't make things pretty or harmonious
  • Don't use backdrop-blur or translucency
  • Don't use smooth polished easing (ease-in-out, spring, bounce)

全局 CSS

/* Anti-Design Global Styles */

:root {
  --anti-black: #000000;
  --anti-white: #FFFFFF;
  --anti-red: #FF0000;
  --anti-blue: #0000FF;
  --anti-yellow: #FFFF00;
  --anti-magenta: #FF00FF;
  --anti-cyan: #00FFFF;
  --anti-green: #00FF00;
}

@keyframes anti-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1deg); }
  75% { transform: rotate(1deg); }
}

@keyframes anti-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes anti-marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Thick asymmetric borders */
.anti-border-asymmetric {
  border-width: 6px;
  border-width: 6px;
  border-width: 4px;
  border-width: 4px;
}
.anti-design-card {
  position: relative;
  overflow: hidden;
}

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

.anti-design-card:hover::before {
  opacity: 1;
}

.anti-design-gradient {
  background: linear-gradient(135deg, #000000, #FF0000);
}

.anti-design-gradient-text {
  background: linear-gradient(135deg, #000000, #FF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

布局、色板与 Tokens

主色#000000
次色#FFFFFF
强调色 1#FF0000
强调色 2#0000FF
强调色 3#FFFF00
强调色 4#FF00FF
强调色 5#00FFFF
强调色 6#00FF00
{
  "border": {
    "width": "border-4",
    "color": "border-black",
    "radius": "rounded-none",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-[4px_4px_0_#000]",
    "md": "shadow-[8px_8px_0_#000]",
    "lg": "shadow-[12px_12px_0_#000]",
    "none": "shadow-none",
    "hover": "hover:shadow-[12px_12px_0_#000]",
    "focus": "focus:shadow-[4px_4px_0_#0000FF]",
    "colored": {
      "red": "shadow-[8px_8px_0_#FF0000]",
      "blue": "shadow-[8px_8px_0_#0000FF]",
      "magenta": "shadow-[8px_8px_0_#FF00FF]",
      "green": "shadow-[8px_8px_0_#00FF00]"
    }
  },
  "interaction": {
    "transition": "transition-all duration-100",
    "active": "active:translate-x-[2px] active:translate-y-[2px] active:shadow-[2px_2px_0_#000]",
    "hoverTranslate": "hover:-translate-x-1 hover:-translate-y-1"
  },
  "typography": {
    "heading": "font-black uppercase",
    "body": "font-bold text-sm",
    "mono": "font-mono font-bold",
    "sizes": {
      "hero": "text-5xl md:text-7xl lg:text-9xl",
      "h1": "text-4xl md:text-6xl",
      "h2": "text-3xl md:text-5xl",
      "h3": "text-xl md:text-2xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-12 md:py-20 lg:py-28",
    "container": "px-4 md:px-8 lg:px-12",
    "card": "p-6",
    "gap": {
      "sm": "gap-3 md:gap-4",
      "md": "gap-4 md:gap-6",
      "lg": "gap-6 md:gap-10"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-white",
      "secondary": "bg-[#FFFF00]",
      "accent": [
        "bg-[#FF0000]",
        "bg-[#0000FF]",
        "bg-[#FF00FF]",
        "bg-[#00FF00]"
      ]
    },
    "text": {
      "primary": "text-black",
      "secondary": "text-black/80",
      "muted": "text-gray-500"
    },
    "button": {
      "primary": "bg-[#FF0000] text-white",
      "secondary": "bg-[#FFFF00] text-black",
      "danger": "bg-black text-white"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-sm",
      "rounded",
      "rounded-md",
      "rounded-lg",
      "rounded-xl",
      "rounded-2xl",
      "rounded-3xl",
      "rounded-full",
      "shadow-sm",
      "shadow",
      "shadow-md",
      "shadow-lg",
      "shadow-xl",
      "shadow-2xl",
      "backdrop-blur",
      "backdrop-blur-sm",
      "backdrop-blur-md",
      "backdrop-blur-lg"
    ],
    "patterns": [
      "^rounded-(?!none)",
      "^shadow-(?!\\[|none)",
      "^bg-gradient-",
      "^backdrop-blur"
    ],
    "reasons": {
      "rounded-lg": "Anti-Design uses only sharp edges (rounded-none). Never round anything.",
      "shadow-lg": "Anti-Design uses hard offset shadows only (shadow-[Xpx_Xpx_0_#000]).",
      "bg-gradient-to-r": "Anti-Design uses flat high-saturation colors, no gradients.",
      "backdrop-blur": "Anti-Design rejects translucency. Use flat opaque colors."
    }
  },
  "required": {
    "button": [
      "rounded-none",
      "border-4",
      "border-black",
      "font-black",
      "uppercase",
      "shadow-[4px_4px_0_#000]",
      "transition-all duration-100"
    ],
    "card": [
      "rounded-none",
      "border-4",
      "border-black",
      "shadow-[8px_8px_0_#000]",
      "bg-white"
    ],
    "input": [
      "rounded-none",
      "border-4",
      "border-black",
      "font-bold",
      "focus:outline-none",
      "focus:border-[#0000FF]",
      "focus:shadow-[4px_4px_0_#0000FF]"
    ]
  }
}

示例提示词

反设计作品集页

极粗边框、冲突色彩的粗野主义作品集

Use Anti-Design style to create a portfolio page:
1. Yellow hero section with giant rotated black uppercase title
2. White cards with border-4 border-black and hard offset shadows
3. Each card has a different primary color accent strip
4. Mix font sizes dramatically - some text huge, some tiny
5. Rotate some elements slightly for visual chaos
6. No rounded corners anywhere - everything sharp
7. Footer: black background with white text and thick border

反设计活动海报

旋转文字和粗野排版的实验性活动页面

Use Anti-Design style to create an event poster page:
1. Alternating section backgrounds: yellow, red, blue, white
2. Giant uppercase titles with -rotate-2 to rotate-3
3. Deliberately misaligned text blocks
4. All borders 4-8px solid black
5. Hard offset shadows shadow-[8px_8px_0_#000]
6. Button row with each button a different primary color
7. Intentional visual conflict between adjacent sections

反设计产品页

打破一切UI规范的叛逆产品展示页

Use Anti-Design style to create a product page:
1. Hero: yellow background, massive tilted product name
2. Feature cards with different accent color tops (red, blue, magenta, green)
3. Rules section on blue #0000FF background with white text
4. Component showcase with buttons, inputs, all thick black borders
5. Color palette section showing flat color blocks
6. No subtle anything - maximum visual impact