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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<a class="codepen-button"><span>Start Coding</span></a>/* From Uiverse.io by SelfMadeSystem - Tags: animation, button, animated, rainbow, codepen */
/* Yoinked from CodePen, but improved the animation
so that it is smooth among other more minor things */
.codepen-button {
display: block;
cursor: pointer;
color: white;
margin: 0 auto;
position: relative;
text-decoration: none;
font-weight: 600;
border-radius: 6px;
overflow: hidden;
padding: 3px;
isolation: isolate;
}
.codepen-button::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 400%;
height: 100%;
background: linear-gradient(115deg,#4fcf70,#fad648,#a767e5,#12bcfe,#44ce7b);
background-size: 25% 100%;
animation: an-at-keyframe-css-at-rule-that-translates-via-the-transform-property-the-background-by-negative-25-percent-of-its-width-so-that-it-gives-a-nice-border-animation_-We-use-the-translate-property-to-have-a-nice-transition-so-it_s-not-a-jerk-of-a-start-or-stop .75s linear infinite;
animation-play-state: paused;
translate: -5% 0%;
transition: translate 0.25s ease-out;
}
.codepen-button:hover::before {
animation-play-state: running;
transition-duration: 0.75s;
translate: 0% 0%;
}
@keyframes an-at-keyframe-css-at-rule-that-translates-via-the-transform-property-the-background-by-negative-25-percent-of-its-width-so-that-it-gives-a-nice-border-animation_-We-use-the-translate-property-to-have-a-nice-transition-so-it_s-not-a-jerk-of-a-start-or-stop {
to {
transform: translateX(-25%);
}
}
.codepen-button span {
position: relative;
display: block;
padding: 1rem 1.5rem;
font-size: 1.1rem;
background: #000;
border-radius: 3px;
height: 100%;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
深色 Start Coding 按鈕外是一圈 3px 的邊框,綠、黃、紫、藍漸變不停橫向流動。
程式設計練習場、開發者註冊和有創意的行動按鈕。
改 #4fcf70、#fad648、#a767e5、#12bcfe 顏色、3px 的內邊距邊框、6px 圓角和流動速度。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「流動彩虹邊框按鈕」元件。深色 Start Coding 按鈕外是一圈 3px 的邊框,綠、黃、紫、藍漸變不停橫向流動。 適用場景:程式設計練習場、開發者註冊和有創意的行動按鈕。 開放這些可調項:改 #4fcf70、#fad648、#a767e5、#12bcfe 顏色、3px 的內邊距邊框、6px 圓角和流動速度。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。