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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="group">
<svg viewBox="0 0 24 24" aria-hidden="true" class="search-icon">
<g>
<path
d="M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z"
></path>
</g>
</svg>
<input
id="query"
class="input"
type="search"
placeholder="Search..."
name="searchbar"
/>
</div>/* From Uiverse.io by LightAndy1 - Tags: simple, icon, input, dark, search */
.group {
display: flex;
line-height: 28px;
align-items: center;
position: relative;
max-width: 190px;
}
.input {
font-family: "Montserrat", sans-serif;
width: 100%;
height: 45px;
padding-left: 2.5rem;
box-shadow: 0 0 0 1.5px #2b2c37, 0 0 25px -17px #000;
border: 0;
border-radius: 12px;
background-color: #16171d;
outline: none;
color: #bdbecb;
transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
cursor: text;
z-index: 0;
}
.input::placeholder {
color: #bdbecb;
}
.input:hover {
box-shadow: 0 0 0 2.5px #2f303d, 0px 0px 25px -15px #000;
}
.input:active {
transform: scale(0.95);
}
.input:focus {
box-shadow: 0 0 0 2.5px #2f303d;
}
.search-icon {
position: absolute;
left: 1rem;
fill: #bdbecb;
width: 1rem;
height: 1rem;
pointer-events: none;
z-index: 1;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
近黑的圓角輸入框帶一圈細灰邊,懸停和聚焦時變粗,安靜又有質感。
深色儀表盤、開發者工具和命令欄。
改 #16171d 填充、#2b2c37 描邊及其 1.5px 到 2.5px 的寬度、12px 圓角和 cubic-bezier(0.19,1,0.22,1)。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「深色描邊搜尋框」元件。近黑的圓角輸入框帶一圈細灰邊,懸停和聚焦時變粗,安靜又有質感。 適用場景:深色儀表盤、開發者工具和命令欄。 開放這些可調項:改 #16171d 填充、#2b2c37 描邊及其 1.5px 到 2.5px 的寬度、12px 圓角和 cubic-bezier(0.19,1,0.22,1)。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。