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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="radio-button-container">
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio1" name="radio-group">
<label class="radio-button__label" for="radio1">
<span class="radio-button__custom"></span>
React
</label>
</div>
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio2" name="radio-group">
<label class="radio-button__label" for="radio2">
<span class="radio-button__custom"></span>
Angular
</label>
</div>
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio3" name="radio-group">
<label class="radio-button__label" for="radio3">
<span class="radio-button__custom"></span>
Vue
</label>
</div>
</div>/* From Uiverse.io by gharsh11032000 - Tags: radio, radio-buttons, click effect */
.radio-button-container {
display: flex;
align-items: center;
gap: 24px;
}
.radio-button {
display: inline-block;
position: relative;
cursor: pointer;
}
.radio-button__input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.radio-button__label {
display: inline-block;
padding-left: 30px;
margin-bottom: 10px;
position: relative;
font-size: 15px;
color: #f2f2f2;
font-weight: 600;
cursor: pointer;
text-transform: uppercase;
transition: all 0.3s ease;
}
.radio-button__custom {
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid #555;
transition: all 0.3s ease;
}
.radio-button__input:checked + .radio-button__label .radio-button__custom {
background-color: #4c8bf5;
border-color: transparent;
transform: scale(0.8);
box-shadow: 0 0 20px #4c8bf580;
}
.radio-button__input:checked + .radio-button__label {
color: #4c8bf5;
}
.radio-button__label:hover .radio-button__custom {
transform: scale(1.2);
border-color: #4c8bf5;
box-shadow: 0 0 20px #4c8bf580;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
選中的圓點縮到 0.8 倍並泛起柔和藍光,文字也一起變藍,掃一眼就知道選了哪個。
技術棧選擇、簡短測驗和三到五個選項的設定。
換 #4c8bf5 強調色和它的光暈陰影、20px 的圓圈尺寸,以及選項之間 24px 的間距。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「發光藍色單選組」元件。選中的圓點縮到 0.8 倍並泛起柔和藍光,文字也一起變藍,掃一眼就知道選了哪個。 適用場景:技術棧選擇、簡短測驗和三到五個選項的設定。 開放這些可調項:換 #4c8bf5 強調色和它的光暈陰影、20px 的圓圈尺寸,以及選項之間 24px 的間距。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。