玻璃拟态设计提示词
用于创建毛玻璃 UI 效果的 AI 提示词,涵盖 backdrop-blur、透明度和层叠深度。
glassmorphism promptglass effect CSS promptfrosted glass UIglassmorphism Tailwindbackdrop blur designglass card design prompt
关于此主题
玻璃拟态通过 CSS backdrop-filter: blur()、半透明背景和微妙边框创造毛玻璃效果。由 Apple 的 macOS 和 iOS 界面推广,这种风格通过层叠半透明表面创造深度感。有效玻璃拟态的关键是有一个活跃的背景(渐变或图像),透过模糊的玻璃层显现,在不造成视觉杂乱的情况下创造视觉丰富度。
提示词示例
AI 提示词示例
复制这些提示词,用你喜欢的 AI 工具生成玻璃拟态设计提示词设计。
玻璃卡片布局
GeneralCreate a glassmorphism card layout over a gradient background. Background: linear-gradient from #667eea to #764ba2. Cards: background rgba(255,255,255,0.15), backdrop-filter blur(12px), border 1px solid rgba(255,255,255,0.2), border-radius 16px. Each card contains an icon, title, and description. Arrange in a 3-column responsive grid. Add subtle box-shadow for depth. Text in white with varying opacity for hierarchy.
v0 玻璃仪表盘
v0Build a glassmorphism dashboard using shadcn/ui. Background with a mesh gradient (purple, blue, teal). All cards use backdrop-blur-xl with bg-white/10 borders border-white/20. Include: floating stat cards, a glass navigation bar at the top, and a profile dropdown with glass effect. Use rounded-2xl for all containers. Text hierarchy through white text opacity levels: headings 100%, body 80%, muted 50%.
Cursor Apple 液态玻璃
CursorImplement an Apple-inspired liquid glass design system in Next.js with Tailwind. Create a glass() utility that applies: bg-white/10 dark:bg-black/10, backdrop-blur-2xl, border border-white/20, shadow-lg. Build a modal, dropdown, sidebar, and tooltip using this glass treatment. The background should be a gradient with floating colored orbs (CSS radial-gradient) that create dynamic color through the glass effect.
Claude 玻璃 UI
ClaudeGenerate React components with glassmorphism styling. Create GlassCard, GlassButton, GlassInput, GlassModal, and GlassNavbar components. Each uses: backdrop-filter: blur(16px), background: rgba(255,255,255,0.1), border: 1px solid rgba(255,255,255,0.18). Include hover states that increase background opacity. Support both light glass (white-based) and dark glass (black-based) variants. Use Tailwind CSS with custom utility classes.
相关风格
相关风格
探索这些风格获取现成的 tokens 和组件。
适用场景
最佳使用场景
音乐媒体播放器
专辑封面透过玻璃控件显现,创造沉浸式听觉体验。
天气应用
天气状况通过玻璃覆层可见,配合动态天空背景。
Hero 覆层
玻璃卡片浮在落地页的 Hero 图片或视频背景之上。
macOS/iOS 风格应用
遵循 Apple 设计语言的桌面和移动应用,使用半透明面板。
常见问题