性能
通过帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.4 KB · 运行时 5.4 KB
spicy-grasshopper-17MIT按钮Uiverse.io
Mohammad-Rahme-576 用纯 HTML 和 CSS 做的按钮。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.4 KB · 运行时 5.4 KB
问题 0 · 读屏: 通过
已响应减弱动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<button class="button">Join Today ➞</button>/* From Uiverse.io by Mohammad-Rahme-576 - Tags: button */
.button {
position: relative;
padding: 15px 30px; /* Button padding */
font-size: 18px; /* Button font size */
font-weight: bold;
color: #ffffff; /* Text color */
background: #8a2be2; /* Purple background */
border: 2px solid #8a2be2;
border-radius: 12px;
cursor: pointer;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
box-shadow:
0 0 10px #8a2be2,
0 0 20px #4b0082,
0 0 30px #da70d6;
text-transform: uppercase;
letter-spacing: 2px;
font-family: "Arial", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-size: 200% 200%;
animation:
gradientShift 5s ease infinite,
pulse 2s infinite;
isolation: isolate;
}
.button::before,
.button::after {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, #e6e6fa 20%, transparent 70%);
opacity: 0;
transition:
opacity 0.3s,
transform 0.3s;
pointer-events: none;
}
.button::before {
background: linear-gradient(
45deg,
transparent,
rgba(255, 255, 255, 0.1),
transparent
);
transform: translateX(-100%);
transition: transform 0.6s;
z-index: -1;
}
.button::after {
background: linear-gradient(
45deg,
transparent 0%,
rgba(218, 112, 214, 0.8) 25%,
rgba(138, 43, 226, 0.8) 50%,
rgba(218, 112, 214, 0.8) 75%,
transparent 100%
);
filter: blur(5px);
transform: translateX(-100%) rotate(45deg);
}
.button:hover {
background: linear-gradient(
135deg,
#8a2be2,
#4b0082
); /* Gradient background on hover */
transform: scale(1.05) translateY(-3px) rotateY(10deg);
box-shadow:
0 0 20px #8a2be2,
0 0 40px #4b0082,
0 0 60px #da70d6;
perspective: 1000px;
border-color: rgba(218, 112, 214, 0.5);
filter: brightness(1.1) contrast(1.1);
animation:
gradientShift 5s ease infinite,
pulse 2s infinite,
gradientBorder 2s linear infinite;
}
.button:hover::before {
opacity: 0.3;
transform: translateX(100%);
animation: pulseGlow 2s infinite;
}
.button:hover::after {
opacity: 0.5;
animation: shineEffect 1.5s infinite;
}
.button:active {
transform: scale(0.98) translateY(2px);
box-shadow:
0 0 10px rgba(138, 43, 226, 0.6),
0 0 20px rgba(138, 43, 226, 0.4) inset;
}
.button span {
position: relative;
z-index: 1;
-webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}
.button:hover span {
animation:
textGlow 1.5s infinite alternate,
textFloat 0.3s ease-out;
}
@keyframes pulseGlow {
0%,
100% {
transform: scale(1);
opacity: 0.3;
}
50% {
transform: scale(1.2);
opacity: 0.5;
}
}
@keyframes shineEffect {
0% {
transform: translateX(-100%) rotate(45deg);
}
100% {
transform: translateX(100%) rotate(45deg);
}
}
@keyframes ripple {
0% {
transform: scale(0.8);
}
50% {
transform: scale(1.2);
opacity: 0.3;
}
100% {
transform: scale(0.8);
}
}
@keyframes textGlow {
0% {
text-shadow: 0 0 5px #e6e6fa;
}
100% {
text-shadow:
0 0 20px #e6e6fa,
0 0 35px #da70d6;
}
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes focusPulse {
0%,
100% {
box-shadow:
0 0 0 4px rgba(138, 43, 226, 0.4),
0 0 30px rgba(218, 112, 214, 0.6);
}
50% {
box-shadow:
0 0 0 8px rgba(138, 43, 226, 0.2),
0 0 40px rgba(218, 112, 214, 0.4);
}
}
@keyframes textFloat {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
@keyframes particleBurst {
0% {
transform: translate(-50%, -50%) scale(0);
opacity: 1;
}
100% {
transform: translate(-50%, -50%) scale(2);
opacity: 0;
}
}
@keyframes gradientBorder {
0% {
border-color: rgba(218, 112, 214, 0.5);
}
50% {
border-color: rgba(138, 43, 226, 0.5);
}
100% {
border-color: rgba(218, 112, 214, 0.5);
}
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.button:focus {
outline: none;
box-shadow:
0 0 0 4px rgba(138, 43, 226, 0.4),
0 0 30px rgba(218, 112, 214, 0.6);
animation: focusPulse 1.5s infinite;
}
.button:focus-visible {
outline: 2px solid #da70d6;
outline-offset: 2px;
}
.button:active::before {
opacity: 1;
transform: translateX(0) rotate(45deg);
transition: transform 0.2s;
}
.button:active::before {
animation: particleBurst 0.5s ease-out;
}
.button {
border: 2px solid transparent;
background-clip: padding-box;
}
@media (max-width: 768px) {
.button {
padding: 12px 24px;
font-size: 16px;
}
}
@media (max-width: 480px) {
.button {
padding: 10px 20px;
font-size: 14px;
}
}
@media (min-width: 1200px) {
.button {
padding: 18px 36px;
font-size: 20px;
}
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
紫色按钮带三层紫色光晕,渐变 5 秒流动一次,每 2 秒脉动一下,很难忽略。
深色落地页上的注册、加入行动按钮。
改 #8a2be2、#4b0082、#da70d6 光晕、5s 的 gradientShift、2s 的 pulse 和 12px 圆角。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「脉动紫色加入按钮」组件。紫色按钮带三层紫色光晕,渐变 5 秒流动一次,每 2 秒脉动一下,很难忽略。 适用场景:深色落地页上的注册、加入行动按钮。 开放这些可调项:改 #8a2be2、#4b0082、#da70d6 光晕、5s 的 gradientShift、2s 的 pulse 和 12px 圆角。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。