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

檢測於 2026年11月15日 · 資料來自自動腳本,不是手工填寫。
以實際尺寸顯示。
複製內容以授權聲明開頭,使用程式碼時請保留。
<div class="music-card">
<div class="card-header">
<div class="track-info">
<svg
class="track-icon"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M9 18V5l12-2v13"></path>
<circle cx="6" cy="18" r="3"></circle>
<circle cx="18" cy="16" r="3"></circle>
</svg>
<div class="track-details">
<span class="track-title">Music Name</span>
<p class="track-artist">Music Singer</p>
</div>
</div>
<div class="card-icons">
<svg
class="icon-heart"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"
></path>
</svg>
<svg
class="icon-star"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<polygon
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
></polygon>
</svg>
</div>
</div>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<div class="progress-time"><span>00:03</span><span>3:35</span></div>
</div>/* From Uiverse.io by ParasSalunke - Tags: card */
.music-card {
cursor: pointer;
width: 100%;
max-width: 340px;
margin: 0 auto;
background-color: #f7f7f7;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
transition: transform 0.3s ease;
}
.music-card:hover {
transform: translateY(-5px);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
background-color: #fff;
}
.track-info {
display: flex;
align-items: center;
}
.track-icon {
height: 24px;
width: 24px;
color: #f59e0b;
}
.track-details {
margin-left: 12px;
}
.track-title {
font-size: 1.2rem;
font-weight: 600;
color: #333;
}
.track-artist {
font-size: 0.9rem;
color: #666;
}
.card-icons {
display: flex;
align-items: center;
}
.icon-heart {
height: 24px;
width: 24px;
color: #ef4444;
cursor: pointer;
}
.icon-star {
height: 24px;
width: 24px;
color: #9ca3af;
margin-left: 16px;
cursor: pointer;
}
.icon-star:hover {
color: #fbbf24;
}
.progress-container {
position: relative;
margin: 16px 16px 8px 16px;
height: 6px;
background-color: #e5e7eb;
border-radius: 3px;
overflow: hidden;
}
.progress-bar {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 60%;
background-color: #f59e0b;
border-radius: 3px;
}
.progress-time {
display: flex;
justify-content: space-between;
padding: 0 16px 16px 16px;
font-size: 0.85rem;
color: #6b7280;
}控制項 · HTML · CSS · JS
直接改程式碼,再用控制項微調,預覽會隨輸入即時更新。

線上編輯每個元件,用控制項微調,下載完整原始碼,複製進階提示詞。
一次性 $49暫定價格
測試模式:不會真的扣款。
免費:預覽、複製按鈕和課程說明。
淺色卡片顯示歌名、歌手、圖示、進度條和時間,懸停時上浮 5px,迷你播放器需要的都有了。
音樂應用、播客嵌入和正在播放小元件。
改 #f7f7f7 背景、340px 最大寬度、進度條顏色和 10px 圓角。
用純 HTML、CSS 和 JavaScript(不用框架)做一個「音樂播放卡」元件。淺色卡片顯示歌名、歌手、圖示、進度條和時間,懸停時上浮 5px,迷你播放器需要的都有了。 適用場景:音樂應用、播客嵌入和正在播放小元件。 開放這些可調項:改 #f7f7f7 背景、340px 最大寬度、進度條顏色和 10px 圓角。 支援淺色和深色主題,遵守 prefers-reduced-motion 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。