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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="input-wrapper">
<button class="icon">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" height="25px" width="25px">
<path stroke-linejoin="round" stroke-linecap="round" stroke-width="1.5" stroke="#fff" d="M11.5 21C16.7467 21 21 16.7467 21 11.5C21 6.25329 16.7467 2 11.5 2C6.25329 2 2 6.25329 2 11.5C2 16.7467 6.25329 21 11.5 21Z"></path>
<path stroke-linejoin="round" stroke-linecap="round" stroke-width="1.5" stroke="#fff" d="M22 22L20 20"></path>
</svg>
</button>
<input placeholder="search.." class="input" name="text" type="text">
</div>/* From Uiverse.io by boryanakrasteva - Tags: input, search */
.input-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
position: relative;
}
.input {
border-style: none;
height: 50px;
width: 50px;
padding: 10px;
outline: none;
border-radius: 50%;
transition: .5s ease-in-out;
background-color: #7e4fd4;
box-shadow: 0px 0px 3px #f3f3f3;
padding-right: 40px;
color: #fff;
}
.input::placeholder,
.input {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 17px;
}
.input::placeholder {
color: #8f8f8f;
}
.icon {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
right: 0px;
cursor: pointer;
width: 50px;
height: 50px;
outline: none;
border-style: none;
border-radius: 50%;
pointer-events: painted;
background-color: transparent;
transition: .2s linear;
}
.icon:focus ~ .input,
.input:focus {
box-shadow: none;
width: 250px;
border-radius: 0px;
background-color: transparent;
border-bottom: 3px solid #7e4fd4;
transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
一個帶淡淡白色光環的 50px 紫色圓,0.5 秒內長成完整的搜尋框,俏皮又緊湊。
色彩豐富的頁頭、創意作品集和移動端工具欄。
改 #7e4fd4 紫色、50px 起始尺寸、展開後的寬度、3px 光環和 0.5s ease-in-out。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「紫色圓形展開搜尋」元件。一個帶淡淡白色光環的 50px 紫色圓,0.5 秒內長成完整的搜尋框,俏皮又緊湊。 適用場景:色彩豐富的頁頭、創意作品集和移動端工具欄。 開放這些可調項:改 #7e4fd4 紫色、50px 起始尺寸、展開後的寬度、3px 光環和 0.5s ease-in-out。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。