Equalizer Now Playing
Equalizer Now Playing: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
Glass CorridorsNightbus
CSS
.card-059 {
display: inline-flex;
align-items: center;
gap: 12px;
width: 280px;
padding: 10px 14px 10px 10px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 14px;
font-family: system-ui,sans-serif;
color: #111827;
box-shadow: 0 2px 8px rgba(0,0,0,.06)
}
.card-059__art {
flex: none;
width: 44px;
height: 44px;
border-radius: 10px;
background: linear-gradient(135deg,#22d3ee,#6366f1)
}
.card-059__text {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0
}
.card-059 b {
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
.card-059 small {
font-size: 12px;
color: #6b7280
}
.card-059__eq {
display: flex;
align-items: flex-end;
gap: 3px;
height: 18px
}
.card-059__eq i {
width: 3px;
height: 100%;
border-radius: 2px;
background: #6366f1;
transform-origin: bottom;
animation: card-059-bounce 1s ease-in-out infinite
}
.card-059__eq i:nth-child(2) {
animation-delay: -.3s
}
.card-059__eq i:nth-child(3) {
animation-delay: -.6s
}
.card-059__eq i:nth-child(4) {
animation-delay: -.15s
}
.card-059:hover .card-059__eq i {
animation-play-state: paused
}
@keyframes card-059-bounce {
0%,100% {
transform: scaleY(.3)
}
50% {
transform: scaleY(1)
}
}
@media (prefers-reduced-motion: reduce) {
.card-059, .card-059 * { animation: none; transition: none; }
}
HTML
<div class="card-059">
<span class="card-059__art"></span>
<span class="card-059__text"><b>Glass Corridors</b><small>Nightbus</small></span>
<span class="card-059__eq"><i></i><i></i><i></i><i></i></span>
</div>Prompt
Erstelle eine 280px Now-Playing-Mini-Card: weiß, 1px #e5e7eb Rahmen, 14px Radius, 10px Padding, weicher Schatten. Links eine 44px Album-Kachel mit 10px Radius und 135deg Gradient #22d3ee zu #6366f1. In der Mitte ein 14px fetter Trackname (Ellipsis) über einem 12px #6b7280 Künstler. Rechts ein Equalizer aus vier 3px breiten indigofarbenen #6366f1 Balken, 18px hoch, die in einer 1s Schleife mit versetzten Delays zwischen 30% und 100% Höhe springen (scaleY von unten); Hover pausiert sie.