效能
通過幀率: 平均 60 fps,p5 59.5 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.4 KB · 執行時 2.9 KB
hard-wasp-8MIT按鈕Uiverse.io
albertofanini-prog 用純 HTML 和 CSS 做的按鈕。依 MIT 授權從 Uiverse.io 收錄,此處為即時預覽。
品質報告
等級和分數來自建置或測試時跑過的自動檢查。沒跑過的項目會標成「未檢測」,不會填假資料。
幀率: 平均 60 fps,p5 59.5 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 2.4 KB · 執行時 2.9 KB
問題 0 · 讀屏: 需注意
已回應減弱動效
無溢出
幀率和長任務是在無介面的 Chromium 裡用軟體 WebGL 測的,只適合在本站元件之間比較,不代表實機表現。
沒有 axe-core 違規。

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div id="pulsa" class="pulsa">
<button id="cta" class="cta">
Spatial button<div class="star a"></div>
<div class="star b"></div>
<div class="star c"></div>
<div class="star d"></div>
<div class="star e"></div>
<div class="star f"></div>
<div class="star g"></div>
<svg version="1.1" viewBox="0 0 1024 1024" width="24px" class="rocket"><path fill="#3A7EB9" d="M662.72 462.784l136.448 169.408v173.248l-136.448-48.32zM342.72 457.344L206.272 626.816v173.248l136.448-48.384z"></path><path fill="#D48171" d="M570.688 418.688l-142.848 1.152a266.496 266.496 0 0 1-20.288-0.576l3.712 448.64c0.256 28.928 94.272 130.048 94.272 130.048s93.888-102.656 93.632-131.584l-3.712-448.96a344.64 344.64 0 0 1-24.768 1.28z"></path><path fill="#E9DF92" d="M531.456 599.296l-63.04 0.576c-3.008 0-5.952-0.064-8.96-0.384l2.176 257.792c0.128 16.64 41.728 74.816 41.728 74.816s41.344-58.944 41.28-75.52l-2.176-257.92c-3.648 0.384-7.296 0.64-11.008 0.64z"></path><path fill="#B5D5EB" d="M554.304 93.568a324.352 324.352 0 0 0-110.592 1.728L342.72 240.768v584.512c13.824-0.96 27.968-1.536 42.368-1.536h245.248c11.84 0 23.36 0.384 34.816 1.024V253.312L554.304 93.568z"></path><path fill="#3A7EB9" d="M541.44 94.144L500.416 35.008l-45.696 59.136v29.504h89.024v-29.504zM459.456 288.64h88.96v88.896h-88.96zM459.456 467.456h88.96v88.96h-88.96zM459.456 634.176h88.96v88.896h-88.96zM364.928 788.736h277.76v44.352h-277.76z"></path></svg>
</button>
</div>/* From Uiverse.io by albertofanini-prog - Tags: button */
.pulsa {
animation: pulsa 1.4s infinite;
min-width: 200px;
width: fit-content;
border-radius: 9999px;
/* overflow: hidden; */
}
.cta {
width: 100%;
height: 100%;
border: none;
outline: none;
background-color: none;
border-radius: 9999px;
padding: 8px 16px;
color: white;
font-size: 15px;
background: linear-gradient(109.6deg, #090979 11.2%, #9006A1 53.7%, #090979 100.2%);
letter-spacing: 0.08em;
font-weight: 800;
position: relative;
}
.cta:active {
animation: pulsa-active .4s infinite;
}
.star {
width: 2px;
height: 2px;
background-color: white;
border-radius: 50%;
position: absolute;
animation: pulsa-stella 1.8s infinite;
transition: all .8s ease-in-out;
}
.star.a {
top: 8px;
left: 6px;
}
.star.b {
top: 2px;
left: 16px;
}
.star.c {
top: 18px;
left: 8px;
}
.star.d {
top: 14px;
left: 20px;
}
.star.e {
top: 30px;
left: 8px;
}
.star.f {
top: 24px;
left: 24px;
}
.star.g {
top: 10px;
left: 32px;
}
.pulsa:hover .star.a {
transform: translate3d(0px, 8px, 0);
}
.pulsa:hover .star.b {
transform: translate3d(-4px, 6px, 0);
}
.pulsa:hover .star.c {
transform: translate3d(14px, -8px, 0);
}
.pulsa:hover .star.d {
transform: translate3d(16px, -2px, 0);
}
.pulsa:hover .star.e {
transform: translate3d(58px, -20px, 0);
}
.pulsa:hover .star.f {
transform: translate3d(34px, 2px, 0);
}
.pulsa:hover .star.g {
transform: translate3d(10px, 16px, 0);
}
.rocket {
position: absolute;
top: 8px;
right: 16px;
z-index: -1;
transform: rotate(180deg);
transition: all .3s ease-in-out;
}
.pulsa:hover .rocket {
z-index: auto;
animation: muovi-razzo 1.8s linear;
transform: rotate(0deg);
}
@keyframes pulsa {
0% {
box-shadow: 0 0 0 0 #9006A1;
}
100% {
box-shadow: 0 0 0 8px #fbb32f01;
}
}
@keyframes pulsa-stella {
0% {
box-shadow: 0 0 0 0 #ffffff;
}
100% {
box-shadow: 0 0 0 4px #fbb32f01;
}
}
@keyframes muovi-razzo {
from {
transform: rotate(180deg);
}
25% {
transform: translate3d(40px, 32px, 0);
}
50% {
transform: translate3d(32px, -60px, 0);
}
75% {
transform: translate3d(0px, -60px, 0) rotate(0);
}
to {
transform: rotate(0deg);
}
}
@keyframes pulsa-active {
0% {
box-shadow: 0 0 0 0 #9006A1;
}
100% {
box-shadow: 0 0 0 16px #fbb32f01;
}
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
藏藍和紫色漸變的膠囊每 1.4 秒脈動一次,小星星在上面閃爍,像一扇等你點選的傳送門。
太空、AI 或高階版釋出的行動按鈕。
改 #090979 和 #9006A1 漸變、1.4s 的 pulsa 動畫、200px 最小寬度和星星位置。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「脈動的星際按鈕」元件。藏藍和紫色漸變的膠囊每 1.4 秒脈動一次,小星星在上面閃爍,像一扇等你點選的傳送門。 適用場景:太空、AI 或高階版釋出的行動按鈕。 開放這些可調項:改 #090979 和 #9006A1 漸變、1.4s 的 pulsa 動畫、200px 最小寬度和星星位置。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。