性能
通过帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.7 KB · 运行时 1.8 KB
grumpy-fox-39MIT卡片Uiverse.io
Yaya12085 用纯 HTML 和 CSS 做的卡片。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.7 KB · 运行时 1.8 KB
问题 0 · 读屏: 通过
没有持续动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
不适用:静止时没有可见动画;由悬停触发的动画没有测试。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="card">
<div class="header">
<div class="image"><svg aria-hidden="true" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" fill="none">
<path d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z" stroke-linejoin="round" stroke-linecap="round"></path>
</svg></div>
<div class="content">
<span class="title">Desactivate account</span>
<p class="message">Are you sure you want to deactivate your account? All of your data will be permanently removed. This action cannot be undone.</p>
</div>
<div class="actions">
<button class="desactivate" type="button">Desactivate</button>
<button class="cancel" type="button">Cancel</button>
</div>
</div>
</div>/* From Uiverse.io by Yaya12085 - Tags: card */
.card {
overflow: hidden;
position: relative;
background-color: #ffffff;
text-align: left;
border-radius: 0.5rem;
max-width: 290px;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.header {
padding: 1.25rem 1rem 1rem 1rem;
background-color: #ffffff;
}
.image {
display: flex;
margin-left: auto;
margin-right: auto;
background-color: #FEE2E2;
flex-shrink: 0;
justify-content: center;
align-items: center;
width: 3rem;
height: 3rem;
border-radius: 9999px;
}
.image svg {
color: #DC2626;
width: 1.5rem;
height: 1.5rem;
}
.content {
margin-top: 0.75rem;
text-align: center;
}
.title {
color: #111827;
font-size: 1rem;
font-weight: 600;
line-height: 1.5rem;
}
.message {
margin-top: 0.5rem;
color: #6B7280;
font-size: 0.875rem;
line-height: 1.25rem;
}
.actions {
margin: 0.75rem 1rem;
background-color: #F9FAFB;
}
.desactivate {
display: inline-flex;
padding: 0.5rem 1rem;
background-color: #DC2626;
color: #ffffff;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 500;
justify-content: center;
width: 100%;
border-radius: 0.375rem;
border-width: 1px;
border-color: transparent;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cancel {
display: inline-flex;
margin-top: 0.75rem;
padding: 0.5rem 1rem;
background-color: #ffffff;
color: #374151;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 500;
justify-content: center;
width: 100%;
border-radius: 0.375rem;
border: 1px solid #D1D5DB;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
白色卡片配红色警告图标、清楚的标题、直白的说明和两个按钮,让有风险的操作也冷静易懂。
删除或停用确认和破坏性操作对话框。
改 290px 最大宽度、0.5rem 圆角、红色图标和按钮颜色以及阴影。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「停用账号对话框」组件。白色卡片配红色警告图标、清楚的标题、直白的说明和两个按钮,让有风险的操作也冷静易懂。 适用场景:删除或停用确认和破坏性操作对话框。 开放这些可调项:改 290px 最大宽度、0.5rem 圆角、红色图标和按钮颜色以及阴影。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。