Dunkles Sterne-Zitat
Dunkles Sterne-Zitat: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
★★★★★
The thermostat learned our schedule in a week. Nobody has touched it since.
CSS
.card-026 {
width: 320px;
margin: 0;
padding: 24px;
background: #0b0f19;
border: 1px solid #1f2937;
border-radius: 16px;
font-family: system-ui,sans-serif;
color: #e5e7eb;
transition: border-color .2s
}
.card-026:hover {
border-color: #374151
}
.card-026__stars {
font-size: 14px;
letter-spacing: 2px;
color: #fbbf24
}
.card-026 blockquote {
margin: 12px 0 20px;
font-size: 15px;
line-height: 1.6;
color: #d1d5db
}
.card-026 figcaption {
display: flex;
align-items: center;
gap: 12px
}
.card-026__avatar {
flex: none;
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg,#34d399,#0ea5e9)
}
.card-026__who {
display: flex;
flex-direction: column
}
.card-026 b {
font-size: 14px
}
.card-026 small {
font-size: 12px;
color: #9ca3af
}
HTML
<figure class="card-026">
<div class="card-026__stars">★★★★★</div>
<blockquote>The thermostat learned our schedule in a week. Nobody has touched it since.</blockquote>
<figcaption><span class="card-026__avatar"></span><span class="card-026__who"><b>Ines Duarte</b><small>Facilities lead, Parcel</small></span></figcaption>
</figure>Prompt
Baue eine 320px dunkle Testimonial-Card: Hintergrund #0b0f19, 1px #1f2937 Rahmen (hellt beim Hover auf #374151 auf), 16px Radius, 24px Padding. Oben: fünf bernsteinfarbene Sterne "★★★★★" in #fbbf24 mit 2px Laufweite. Zitat in 15px #d1d5db mit 1.6 Zeilenhöhe. Footer-Zeile: ein 40px runder Avatar mit 135deg Gradient #34d399 zu #0ea5e9, dann Name in 14px bold #e5e7eb und Rolle in 12px #9ca3af gestapelt.