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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<form class="form">
<p>Login</p>
<div class="group">
<input required="true" class="main-input" type="text">
<span class="highlight-span"></span>
<label class="lebal-email">Email</label>
</div>
<div class="container-1">
<div class="group">
<input required="true" class="main-input" type="text">
<span class="highlight-span"></span>
<label class="lebal-email">password</label>
</div>
</div>
<button class="submit">submit</button>
</form>/* From Uiverse.io by zombie223 - Tags: login, form */
.group {
position: relative;
}
.form {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
border: 1px solid white;
padding: 120px 40px;
padding-top: 60px;
padding-bottom: 90px;
padding-right: 40px;
padding-left: 40px;
background-color: black;
border-radius: 20px;
position: relative;
}
.form p {
padding-bottom: 20px;
font-size: 24px;
font-weight: bold;
letter-spacing: .5px;
color: white;
}
.container-1 {
padding-top: 30px;
}
.main-input {
font-size: 16px;
padding: 10px 10px 10px 5px;
display: block;
width: 185px;
border: none;
border-bottom: 1px solid #6c6c6c;
background: transparent;
color: #ffffff;
}
.main-input:focus {
outline: none;
border-bottom-color: #42ff1c;
}
.lebal-email {
color: #999999;
font-size: 18px;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 5px;
top: 10px;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}
.main-input:focus ~ .lebal-email,
.main-input:valid ~ .lebal-email {
top: -20px;
font-size: 14px;
color: #42ff1c;
}
.highlight-span {
position: absolute;
height: 60%;
width: 0px;
top: 25%;
left: 0;
pointer-events: none;
opacity: 0.5;
}
.main-input:focus ~ .highlight-span {
-webkit-animation: input-focus 0.3s ease;
animation: input-focus 0.3s ease;
}
@keyframes input-focus {
from {
background: #42ff1c;
}
to {
width: 185px;
}
}
.submit {
margin-top: 1.2rem;
padding: 10px 20px;
border-radius: 10px;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
輸入框用浮動標籤,當前輸入框下方會掃過一條高亮線,表單清楚地告訴你填到哪了。
乾淨、帶 Material 感的登入和註冊頁。
改 highlight-span 顏色、標籤上浮距離、輸入框寬度和表單背景。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「高亮線登入表單」元件。輸入框用浮動標籤,當前輸入框下方會掃過一條高亮線,表單清楚地告訴你填到哪了。 適用場景:乾淨、帶 Material 感的登入和註冊頁。 開放這些可調項:改 highlight-span 顏色、標籤上浮距離、輸入框寬度和表單背景。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。