效能
通過幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 1.7 KB · 執行時 2.0 KB
slippery-goat-18MIT按鈕Uiverse.io
Subaashbala 用純 HTML 和 CSS 做的按鈕。依 MIT 授權從 Uiverse.io 收錄,此處為即時預覽。
品質報告
等級和分數來自建置或測試時跑過的自動檢查。沒跑過的項目會標成「未檢測」,不會填假資料。
幀率: 平均 60 fps,p5 59.9 · 長任務: 0 個,共 0 毫秒,最長 0 毫秒 · 原始碼 gzip 1.7 KB · 執行時 2.0 KB
問題 0 · 讀屏: 需注意
沒有持續動效
無溢出
幀率和長任務是在無介面的 Chromium 裡用軟體 WebGL 測的,只適合在本站元件之間比較,不代表實機表現。
不適用:靜止時沒有可見動畫;由懸停觸發的動畫沒有測試。
沒有 axe-core 違規。

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<button class="button">
<div class="bgContainer">
<span>Hover</span>
<span>Hover</span>
</div>
<div class="arrowContainer">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 45 38"
height="25"
width="25"
>
<path
fill="black"
d="M43.7678 20.7678C44.7441 19.7915 44.7441 18.2085 43.7678 17.2322L27.8579 1.32233C26.8816 0.34602 25.2986 0.34602 24.3223 1.32233C23.346 2.29864 23.346 3.88155 24.3223 4.85786L38.4645 19L24.3223 33.1421C23.346 34.1184 23.346 35.7014 24.3223 36.6777C25.2986 37.654 26.8816 37.654 27.8579 36.6777L43.7678 20.7678ZM0 21.5L42 21.5V16.5L0 16.5L0 21.5Z"
></path>
</svg>
</div>
</button>/* From Uiverse.io by Subaashbala - Tags: login, button, transition, hover button */
button {
display: flex;
justify-content: space-around;
align-items: center;
padding: 1em 0em 1em 1em;
background-color: yellow;
box-shadow: 4px 6px 0px black;
border: 4px solid;
border-radius: 15px;
position: relative;
overflow: hidden;
z-index: 100;
transition: box-shadow 250ms, transform 250ms, filter 50ms;
}
button:hover {
transform: translate(2px, 2px);
box-shadow: 2px 3px 0px black;
}
button:active {
filter: saturate(0.75);
}
button::after {
content: "";
position: absolute;
inset: 0;
background-color: pink;
z-index: -1;
transform: translateX(-100%);
transition: transform 250ms;
}
button:hover::after {
transform: translateX(0);
}
.bgContainer {
position: relative;
display: flex;
justify-content: start;
align-items: center;
overflow: hidden;
max-width: 35%; /* adjust this if the button text is not proper */
font-size: 2em;
font-weight: 600;
}
.bgContainer span {
position: relative;
transform: translateX(-100%);
transition: all 250ms;
}
.button:hover .bgContainer > span {
transform: translateX(0);
}
.arrowContainer {
padding: 1em;
margin-inline-end: 1em;
border: 4px solid;
border-radius: 50%;
background-color: pink;
position: relative;
overflow: hidden;
transition: transform 250ms, background-color 250ms;
z-index: 100;
}
.arrowContainer::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background-color: yellow;
transform: translateX(-100%);
z-index: -1;
transition: transform 250ms ease-in-out;
}
button:hover .arrowContainer::after {
transform: translateX(0);
}
button:hover .arrowContainer {
transform: translateX(5px);
}
button:active .arrowContainer {
transform: translateX(8px);
}
.arrowContainer svg {
vertical-align: middle;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
亮黃色按鈕配粗邊框和黑色硬陰影,懸停時文字和箭頭滾動,按下沉 2px。
俏皮和粗野風網站上的醒目行動按鈕。
改黃色填充、4px 邊框、4px 6px 的陰影、15px 圓角和 250ms 時長。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「黃色箭頭懸停按鈕」元件。亮黃色按鈕配粗邊框和黑色硬陰影,懸停時文字和箭頭滾動,按下沉 2px。 適用場景:俏皮和粗野風網站上的醒目行動按鈕。 開放這些可調項:改黃色填充、4px 邊框、4px 6px 的陰影、15px 圓角和 250ms 時長。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。