性能
通过帧率: 平均 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 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。