Ruhiger Inhalt

Ruhiger Inhalt: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.

contentbasicimage-toplighthover-lift

Designing for quiet interfaces

Why the best screens are the ones you barely notice, and how to get there.

Read more
CSS
.card-001 {
  width: 320px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  font-family: system-ui,sans-serif;
  color: #111827;
  transition: transform .25s,box-shadow .25s
}
.card-001:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17,24,39,.12)
}
.card-001__img {
  height: 170px;
  background: linear-gradient(135deg,#dbeafe,#a5b4fc)
}
.card-001__body {
  padding: 18px 20px 20px
}
.card-001 h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3
}
.card-001 p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563
}
.card-001 a {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none
}
.card-001 a:hover {
  text-decoration: underline
}
.card-001 :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
HTML
<article class="card-001">
  <div class="card-001__img"></div>
  <div class="card-001__body">
    <h3>Designing for quiet interfaces</h3>
    <p>Why the best screens are the ones you barely notice, and how to get there.</p>
    <a href="#">Read more</a>
  </div>
</article>
Prompt

Baue eine 320px breite Content-Card mit weißem Hintergrund #fff, 1px Rahmen #e5e7eb, 14px Radius, overflow hidden. Oberer Bereich 170px hoch, gefüllt mit einem 135deg Gradient von #dbeafe zu #a5b4fc als Bildplatzhalter. Body-Padding 18px 20px 20px: 18px Titel in #111827, 14px Fließtext in #4b5563 mit 1.55 Zeilenhöhe, dann ein 14px semibold Link in #2563eb. Beim Hover die Card 4px anheben und Schatten 0 14px 30px rgba(17,24,39,.12) hinzufügen, Transition 250ms.