性能
通过帧率: 平均 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 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。