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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="audio green-audio-player">
<div class="play-pause-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="24" viewBox="0 0 18 24">
<path fill="#566574" fill-rule="evenodd" d="M18 12L0 24V0" class="play-pause-icon" id="playPause"></path>
</svg>
</div>
<div class="controls">
<span class="current-time">0:00</span>
<div class="slider" data-direction="horizontal">
<div class="progress">
<div class="pin" id="progress-pin" data-method="rewind"></div>
</div>
</div>
<span class="total-time">0:00</span>
</div>
<div class="volume">
<div class="volume-btn">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="#566574" fill-rule="evenodd" d="M14.667 0v2.747c3.853 1.146 6.666 4.72 6.666 8.946 0 4.227-2.813 7.787-6.666 8.934v2.76C20 22.173 24 17.4 24 11.693 24 5.987 20 1.213 14.667 0zM18 11.693c0-2.36-1.333-4.386-3.333-5.373v10.707c2-.947 3.333-2.987 3.333-5.334zm-18-4v8h5.333L12 22.36V1.027L5.333 7.693H0z" id="speaker"></path>
</svg>
</div>
<div class="volume-controls hidden">
<div class="slider" data-direction="vertical">
<div class="progress">
<div class="pin" id="volume-pin" data-method="changeVolume"></div>
</div>
</div>
</div>
</div>
<audio crossorigin=""></audio>
</div>/* From Uiverse.io by Darlley - Tags: animation, media, input, audio */
.audio.green-audio-player {
width: 400px;
min-width: 300px;
height: 56px;
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.07);
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 24px;
padding-right: 24px;
border-radius: 4px;
user-select: none;
-webkit-user-select: none;
background-color: #fff;
}
.audio.green-audio-player .play-pause-btn {
cursor: pointer;
}
.audio.green-audio-player .slider {
flex-grow: 1;
background-color: #d8d8d8;
cursor: pointer;
position: relative;
}
.audio.green-audio-player .slider .progress {
background-color: #44bfa3;
border-radius: inherit;
position: absolute;
pointer-events: none;
}
.audio.green-audio-player .slider .progress .pin {
height: 16px;
width: 16px;
border-radius: 8px;
background-color: #44bfa3;
position: absolute;
pointer-events: all;
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.32);
}
.audio.green-audio-player .controls {
font-family: "Roboto", sans-serif;
font-size: 16px;
line-height: 18px;
color: #55606e;
display: flex;
flex-grow: 1;
justify-content: space-between;
align-items: center;
margin-left: 24px;
margin-right: 24px;
}
.audio.green-audio-player .controls .slider {
margin-left: 16px;
margin-right: 16px;
border-radius: 2px;
height: 4px;
}
.audio.green-audio-player .controls .slider .progress {
width: 0;
height: 100%;
}
.audio.green-audio-player .controls .slider .pin {
right: -8px;
top: -6px;
}
.audio.green-audio-player .controls span {
cursor: default;
}
.audio.green-audio-player .volume {
position: relative;
}
.audio.green-audio-player .volume .volume-btn {
cursor: pointer;
}
.audio.green-audio-player .volume .volume-btn .open path {
fill: #44bfa3;
}
.audio.green-audio-player .volume .volume-controls {
width: 30px;
height: 135px;
background-color: rgba(0, 0, 0, 0.62);
border-radius: 7px;
position: absolute;
left: -3px;
bottom: 52px;
flex-direction: column;
align-items: center;
display: flex;
}
.audio.green-audio-player .volume .volume-controls.hidden {
display: none;
}
.audio.green-audio-player .volume .volume-controls .slider {
margin-top: 12px;
margin-bottom: 12px;
width: 6px;
border-radius: 3px;
}
.audio.green-audio-player .volume .volume-controls .slider .progress {
bottom: 0;
height: 100%;
width: 6px;
}
.audio.green-audio-player .volume .volume-controls .slider .progress .pin {
left: -5px;
top: -8px;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
播放鍵、時間、帶拖動點的進度條和音量控制都放進一條 56px 高的白色長條裡,放在哪頁都很整齊。
播客單集、音樂試聽和語音訊息播放。
改 400px 寬度、56px 高度、進度條和拖動點的綠色,以及柔和陰影。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「綠色音訊播放條」元件。播放鍵、時間、帶拖動點的進度條和音量控制都放進一條 56px 高的白色長條裡,放在哪頁都很整齊。 適用場景:播客單集、音樂試聽和語音訊息播放。 開放這些可調項:改 400px 寬度、56px 高度、進度條和拖動點的綠色,以及柔和陰影。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。