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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="radio-input">
<input checked="" value="color-1" name="color" id="color-1" type="radio" />
<label for="color-1">
<span>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<g stroke-width="0" id="SVGRepo_bgCarrier"></g>
<g
stroke-linejoin="round"
stroke-linecap="round"
id="SVGRepo_tracerCarrier"
></g>
<g id="SVGRepo_iconCarrier">
<g id="Interface / Check">
<path
stroke-linejoin="round"
stroke-linecap="round"
stroke-width="2"
stroke="#ffffff"
d="M6 12L10.2426 16.2426L18.727 7.75732"
id="Vector"
></path>
</g>
</g>
</svg>
</span>
</label>
<input value="color-2" name="color" id="color-2" type="radio" />
<label for="color-2">
<span>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<g stroke-width="0" id="SVGRepo_bgCarrier"></g>
<g
stroke-linejoin="round"
stroke-linecap="round"
id="SVGRepo_tracerCarrier"
></g>
<g id="SVGRepo_iconCarrier">
<g id="Interface / Check">
<path
stroke-linejoin="round"
stroke-linecap="round"
stroke-width="2"
stroke="#ffffff"
d="M6 12L10.2426 16.2426L18.727 7.75732"
id="Vector"
></path>
</g>
</g>
</svg>
</span>
</label>
<input value="color-3" name="color" id="color-3" type="radio" />
<label for="color-3">
<span>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<g stroke-width="0" id="SVGRepo_bgCarrier"></g>
<g
stroke-linejoin="round"
stroke-linecap="round"
id="SVGRepo_tracerCarrier"
></g>
<g id="SVGRepo_iconCarrier">
<g id="Interface / Check">
<path
stroke-linejoin="round"
stroke-linecap="round"
stroke-width="2"
stroke="#ffffff"
d="M6 12L10.2426 16.2426L18.727 7.75732"
id="Vector"
></path>
</g>
</g>
</svg>
</span>
</label>
</div>/* From Uiverse.io by 010binary - Tags: simple, material design, icon, active, checkbox */
.radio-input {
background-color: #fff;
padding: 20px;
border-radius: 20px;
display: flex;
}
.radio-input input[type="radio"] {
display: none;
}
.radio-input input[type="radio"] + label {
color: #333;
font-family: Arial, sans-serif;
font-size: 14px;
}
.radio-input input[type="radio"] + label span {
display: inline-block;
width: 40px;
height: 40px;
margin: -1px 4px 0 0;
vertical-align: middle;
cursor: pointer;
border-radius: 50%;
border: 2px solid #ffffff;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
background-repeat: no-repeat;
background-position: center;
text-align: center;
line-height: 44px;
transition: background-color 0.3s ease;
}
.radio-input input[type="radio"] + label span svg {
opacity: 0;
transition: all 0.3s ease;
}
.radio-input input[type="radio"]#color-1 + label span {
background-color: #b0b0b0;
}
.radio-input input[type="radio"]#color-2 + label span {
background-color: #b0b0b0;
}
.radio-input input[type="radio"]#color-3 + label span {
background-color: #b0b0b0;
}
.radio-input input[type="radio"]:checked + label span {
background-color: #ff4500; /* Change to orange when checked */
}
.radio-input input[type="radio"]:checked + label span svg {
opacity: 1;
}
.radio-input input[type="radio"]#color-1:checked ~ label[for="color-2"] span,
.radio-input input[type="radio"]#color-1:checked ~ label[for="color-3"] span {
background-color: #b0b0b0; /* Gray color when not checked */
}
.radio-input input[type="radio"]#color-2:checked ~ label[for="color-1"] span,
.radio-input input[type="radio"]#color-2:checked ~ label[for="color-3"] span {
background-color: #b0b0b0; /* Gray color when not checked */
}
.radio-input input[type="radio"]#color-3:checked ~ label[for="color-1"] span,
.radio-input input[type="radio"]#color-3:checked ~ label[for="color-2"] span {
background-color: #b0b0b0; /* Gray color when not checked */
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
圓形色塊放在白色圓角面板裡,選中的那個顯示對勾,選顏色又快又直觀。
商品顏色選項、主題選擇和標籤顏色。
改每個色塊的顏色、面板 20px 的內邊距和圓角,以及對勾圖示顏色。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「色塊選擇器」元件。圓形色塊放在白色圓角面板裡,選中的那個顯示對勾,選顏色又快又直觀。 適用場景:商品顏色選項、主題選擇和標籤顏色。 開放這些可調項:改每個色塊的顏色、面板 20px 的內邊距和圓角,以及對勾圖示顏色。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。