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

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<button class="container">
<a href="#"></a>
<a href="#"></a>
<a href="#"></a>
<a href="#"></a>
<div class="card">
<div class="card-header">
HOVER
</div>
</div>
</button>/* From Uiverse.io by mi-series - Tags: simple, material design, 3d, purple, minimalist, button, hover effect, hover button */
.container {
border: none;
}
.container .card {
background-color: white;
border-radius: 10px;
border: 1px solid black;
position: relative;
z-index: 0;
transition: all 300ms ease-out;
transform-origin: center center;
width: 150px;
height: 50px;
box-shadow: 0px;
outline: none;
}
.card-header {
padding: 10px;
background: linear-gradient(90deg, #CB2D6F 20px, transparent 100%) center / 22px 22px,
linear-gradient(#CB2D6F 20px, transparent 100%) center / 22px 22px,
#fff;
color: white;
height: 100%;
font-size: 20px;
font-weight: 600;
border: 1px solid white;
border-radius: 10px;
}
.container .card .border {
transition: all 300ms ease-out;
transform-origin: center center;
position: absolute;
top: 6px;
left: 6px;
width: calc(100% - 0px);
height: calc(100% - 0px);
border: 1px solid black;
border-radius: 9px;
}
.container a {
opacity: 0;
position: absolute;
z-index: 1;
width: 50%;
height: 50%;
}
.container a:hover,
.container a:focus {
transform: translateZ(50px);
}
.container a:hover ~ .card .card-header,
.container a:focus ~ .card .card-header {
transform: translateZ(24px);
}
.container a:nth-child(1) {
top: 0;
left: 0;
}
.container a:nth-child(1):hover ~ .card,
.container a:nth-child(1):focus ~ .card {
transform: rotateX(10deg) rotateY(-10deg) translateZ(0);
transform-origin: right bottom;
box-shadow: 10px 20px;
}
.container a:nth-child(2) {
top: 0;
right: 0;
}
.container a:nth-child(2):hover ~ .card,
.container a:nth-child(2):focus ~ .card {
transform: rotateX(10deg) rotateY(10deg) translateZ(0);
transform-origin: left bottom;
box-shadow: -10px 20px;
}
.container a:nth-child(3) {
bottom: 0;
right: 0;
}
.container a:nth-child(3):hover ~ .card ,
.container a:nth-child(3):focus ~ .card {
transform-origin: left top;
transform: rotateX(-10deg) rotateY(10deg) translateZ(0);
box-shadow: -10px -20px;
}
.container a:nth-child(4) {
bottom: 0;
left: 0;
}
.container a:nth-child(4):hover ~ .card,
.container a:nth-child(4):focus ~ .card {
transform-origin: right top;
transform: rotateX(-10deg) rotateY(-10deg) translateZ(0);
box-shadow: 10px -20px;
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
白色卡片按钮带粉色渐变纹理的头部,四个隐藏感应区让它朝你悬停的那个角倾斜。
俏皮的行动按钮和交互演示。
改 #CB2D6F 粉色、22px 纹理尺寸、150px × 50px 卡片和 300ms ease-out。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「粉色纹理悬停按钮」组件。白色卡片按钮带粉色渐变纹理的头部,四个隐藏感应区让它朝你悬停的那个角倾斜。 适用场景:俏皮的行动按钮和交互演示。 开放这些可调项:改 #CB2D6F 粉色、22px 纹理尺寸、150px × 50px 卡片和 300ms ease-out。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。