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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="gender-card">
<div class="large-svg-container">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 50 90"
class="largemalesvg"
height="90"
width="50"
>
<circle stroke-width="6" stroke="#76E3FE" r="22" cy="25" cx="25"></circle>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M25 47L25 87"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M25 86.6958L38.6958 73"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M11 73L24.6958 86.6958"
></path>
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 50 90"
class="largefemalesvg"
height="90"
width="50"
>
<circle stroke-width="6" stroke="#F57CB3" r="22" cy="25" cx="25"></circle>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#F57CB3"
d="M25 47L25 87"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#F57CB3"
d="M12 73H38"
></path>
</svg>
</div>
<form action="#">
<p class="heading">What's your gender?</p>
<div class="radio-wrapper">
<input
class="gender-radio-buttons"
id="male"
value="male"
name="gender"
type="radio"
/>
<label class="genderlabel malebutton" for="male">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 50 90"
class="smallsvg malesmallsvg"
>
<circle
stroke-width="6"
stroke="#76E3FE"
r="22"
cy="25"
cx="25"
></circle>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M25 47L25 87"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M25 86.6958L38.6958 73"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#76E3FE"
d="M11 73L24.6958 86.6958"
></path></svg
>Male
</label>
<input
class="gender-radio-buttons"
id="female"
value="female"
name="gender"
type="radio"
/>
<label class="genderlabel femalebutton" for="female">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 50 90"
class="smallsvg"
>
<circle
stroke-width="6"
stroke="#F57CB3"
r="22"
cy="25"
cx="25"
></circle>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#F57CB3"
d="M25 47L25 87"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#F57CB3"
d="M12 73H38"
></path></svg
>Female
</label>
<input
class="gender-radio-buttons"
id="other"
value="other"
name="gender"
type="radio"
/>
<label class="genderlabel otherbutton" for="other">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 78 75"
class="smallsvg other-gender"
>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M73.4657 16.6983L48.2159 16.6984L19.9816 58.0001L2.99911 58"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M73.1641 16.698L59.4705 2.99992"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M59.4648 30.696L73.1629 17.0024"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M74.022 57.8121L51.1697 57.8121L19.9997 16.9999L3 17"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M73.748 57.8123L61.3547 71.51"
></path>
<path
stroke-linecap="round"
stroke-width="6"
stroke="#9B4AED"
d="M61.3496 43.8147L73.747 57.5079"
></path>
</svg>
Other
</label>
</div>
</form>
</div>/* From Uiverse.io by vinodjangid07 - Website: https://www.patreon.com/posts/animated-gender-78055964?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_fan&utm_content=join_link - Name: Online Tutorials - Tags: form, card, hover, radio, gender, buttons */
.gender-card {
width: fit-content;
height: fit-content;
background-color: rgb(255, 255, 255);
display: flex;
align-items: center;
flex-direction: column;
justify-content: flex-start;
padding: 30px;
border-radius: 20px;
font-family: Arial, Helvetica, sans-serif;
gap: 25px;
}
.large-svg-container {
width: auto;
height: auto;
display: flex;
align-items: center;
justify-content: center;
transform: rotate(45deg);
}
.largemalesvg {
transform: rotate(180deg);
}
.heading {
color: #1d1d1d;
font-weight: 600;
font-size: 25px;
text-align: center;
}
.gender-radio-buttons {
display: none;
}
.smallsvg {
width: 10px;
}
.other-gender {
width: 15px;
}
.malesmallsvg {
transform: rotate(225deg);
}
.genderlabel {
display: flex;
align-items: center;
justify-content: center;
width: fit-content;
height: fit-content;
background-color: rgb(46, 46, 46);
border-radius: 5px;
padding: 8px 16px;
gap: 8px;
color: white;
cursor: pointer;
transition: all 0.3s ease-out;
}
.radio-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
margin-top: 25px;
}
.femalebutton:hover {
background-color: rgb(245, 185, 195);
}
.malebutton:hover {
background-color: #569fcf;
}
.otherbutton:hover {
background-color: #4d227a;
}
#female:checked + .femalebutton {
background-color: rgb(245, 185, 195);
transform: scale(1.1);
}
#male:checked + .malebutton {
background-color: #569fcf;
transform: scale(1.1);
}
#other:checked + .otherbutton {
background-color: #4d227a;
transform: scale(1.2);
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
圓角白卡上方兩幅大插圖,下面是問題和帶圖示的單選按鈕,讓私人問題也顯得友好。
新手引導問卷、資料設定和健身應用。
改 30px 內邊距、20px 圓角、25px 間距和選中標籤的顏色。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「性別選擇卡」元件。圓角白卡上方兩幅大插圖,下面是問題和帶圖示的單選按鈕,讓私人問題也顯得友好。 適用場景:新手引導問卷、資料設定和健身應用。 開放這些可調項:改 30px 內邊距、20px 圓角、25px 間距和選中標籤的顏色。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。