性能
通过帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.5 KB · 运行时 1.4 KB
lazy-lionfish-15MIT表单Uiverse.io
vinodjangid07 用纯 HTML 和 CSS 做的表单。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.5 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.5 KB · 运行时 1.4 KB
问题 0 · 读屏: 通过
没有持续动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
不适用:静止时没有可见动画;由悬停触发的动画没有测试。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<form class="discountForm">
<span class="DiscountHeading">TAKE 10% OFF.</span>
<p class="DiscountSubheading">Here is your discount! The promo code will be sent to your email.</p>
<div class="inputContainer">
<input placeholder="Enter your email" type="email" name="email" id="email-address">
<button type="submit" class="submitButton">Get it!</button>
</div>
<button class="exitBtn">×</button>
</form>/* From Uiverse.io by vinodjangid07 - Tags: form, discount */
.discountForm {
width: 250px;
height: 300px;
background-color: rgb(255, 255, 255);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px 30px;
gap: 20px;
position: relative;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.082);
}
.DiscountHeading {
font-size: 1.5em;
color: rgb(15, 15, 15);
font-weight: 700;
}
.DiscountSubheading {
font-size: 0.8em;
color: black;
text-align: center;
}
.inputContainer {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
}
#email-address {
height: 30px;
width: 100%;
border: 1px solid rgb(228, 228, 228);
background-color: white;
padding: 0px 10px;
outline: none;
text-align: center;
}
.submitButton {
width: 100%;
height: 30px;
border: none;
background-color: rgb(15, 15, 15);
color: white;
font-weight: 600;
cursor: pointer;
}
.submitButton:hover {
background-color: rgb(36, 36, 36);
}
.exitBtn {
position: absolute;
top: 5px;
right: 5px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.171);
background-color: rgb(255, 255, 255);
border-radius: 50%;
width: 25px;
height: 25px;
border: none;
color: black;
font-size: 1.1em;
cursor: pointer;
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
干净的白卡片先说 TAKE 10% OFF,再一句承诺,邮箱框和 Get it 按钮连在一起,优惠券很聚焦。
折扣弹窗、首单优惠和订阅奖励。
改 250px × 300px 卡片、标题字号、按钮颜色和 20px 的柔和阴影。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「九折优惠邮箱表单」组件。干净的白卡片先说 TAKE 10% OFF,再一句承诺,邮箱框和 Get it 按钮连在一起,优惠券很聚焦。 适用场景:折扣弹窗、首单优惠和订阅奖励。 开放这些可调项:改 250px × 300px 卡片、标题字号、按钮颜色和 20px 的柔和阴影。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。