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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<button class="button">
<span class="top">
<p>Explore More</p>
<p class="before"> </p>
</span>
<span class="bottom"> </span>
</button>/* From Uiverse.io by bociKond - Source: https://www.leagueoflegends.com/en-gb/ I designed the button from the client application which button is for the Soul Fighter event - Tags: button, transition, transform */
.button {
--white: #e8e8e8;
--border-clr: #fff;
--button-bg-clr: #151515;
display: grid;
grid-template-rows: 80% 20%;
background-color: var(--button-bg-clr);
border-width: 10px 3px 3px 3px;
border-color: var(--border-clr);
border-style: solid;
font-family: sans-serif;
font-weight: bolder;
font-size: 1.5rem;
cursor: pointer;
transition: 350ms ease-in-out;
}
button:hover {
--border-clr: #f55c1b;
transform: translate(-7px, -7px);
}
button:hover .top::before {
filter: saturate(1);
opacity: 1;
}
button:hover .top::after {
opacity: 0;
}
.top {
color: var(--white);
/* background-color: white; */
margin: 0.75rem 0.5rem;
padding: 0.5rem 2rem;
display: flex;
align-items: center;
justify-content: center;
position: relative;
isolation: isolate;
z-index: 1;
}
.top::before {
content: "";
position: absolute;
inset: 0;
background: #f55c1b;
background: linear-gradient(0deg, #f55c1b 0%, #ffffff 100%);
filter: saturate(0);
z-index: -2;
transition: 350ms ease-in-out;
opacity: 0;
}
.top .before {
position: absolute;
inset: 2px;
z-index: -1;
background-color: var(--button-bg-clr);
}
.top::after {
content: "";
position: absolute;
inset: 0px;
background: var(--button-bg-clr);
filter: saturate(0);
z-index: -1;
transition: 350ms ease-in-out;
border: 2px solid var(--white);
transition: 350ms ease-in-out;
}
.bottom {
background: repeating-conic-gradient(
from 45deg,
#616161 0% 25%,
#3f3f3f 0% 50%
);
background-size: 16px 16px;
background-color: #3f3f3f;
background-position: center;
width: 100%;
height: 100%;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
黑色方塊按鈕帶粗白色頂邊,懸停時向左上抬起 7px,邊框變成橙色,乾脆有力的圖形動作。
風格大膽的網站上的探索、發現類按鈕。
設定 --white、--border-clr(懸停時為橙色 #f55c1b)、--button-bg-clr(#151515)、10px 頂邊和 350ms 時長。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「抬起的方塊探索按鈕」元件。黑色方塊按鈕帶粗白色頂邊,懸停時向左上抬起 7px,邊框變成橙色,乾脆有力的圖形動作。 適用場景:風格大膽的網站上的探索、發現類按鈕。 開放這些可調項:設定 --white、--border-clr(懸停時為橙色 #f55c1b)、--button-bg-clr(#151515)、10px 頂邊和 350ms 時長。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。