Foto mit Tag
Foto mit Tag: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
Design
Grid systems that actually help
Twelve columns is a habit, not a law. Pick the grid your content needs.
CSS
.card-002 {
width: 300px;
padding: 12px;
background: #fafaf9;
border-radius: 20px;
font-family: system-ui,sans-serif;
color: #1c1917;
box-shadow: 0 1px 2px rgba(0,0,0,.06)
}
.card-002__img {
position: relative;
height: 180px;
border-radius: 14px;
background: linear-gradient(160deg,#fed7aa,#fb923c 70%,#ea580c)
}
.card-002__img span {
position: absolute;
left: 12px;
top: 12px;
padding: 4px 10px;
background: rgba(255,255,255,.85);
border-radius: 999px;
font-size: 12px;
font-weight: 600;
color: #9a3412
}
.card-002 h3 {
margin: 14px 6px 6px;
font-size: 17px
}
.card-002 p {
margin: 0 6px 6px;
font-size: 14px;
line-height: 1.5;
color: #57534e
}
HTML
<article class="card-002">
<div class="card-002__img"><span>Design</span></div>
<h3>Grid systems that actually help</h3>
<p>Twelve columns is a habit, not a law. Pick the grid your content needs.</p>
</article>Prompt
Erstelle eine 300px Content-Card mit 12px Innen-Padding, Hintergrund #fafaf9, 20px Radius und einem zarten 0 1px 2px rgba(0,0,0,.06) Schatten. Der Bildplatzhalter ist ein 180px Block mit 14px Radius und einem 160deg Gradient #fed7aa zu #fb923c zu #ea580c, mit einem kleinen Pillen-Tag "Design" oben links (weiß bei 85% Deckkraft, 12px semibold, Farbe #9a3412). Darunter: 17px Titel in #1c1917 und 14px Beschreibung in #57534e, beide mit 6px horizontalem Margin.