Teammitglied-Zeile
Teammitglied-Zeile: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.card-012 {
display: flex;
gap: 16px;
align-items: center;
width: 320px;
padding: 16px;
background: #fff;
border-radius: 14px;
border: 1px solid #eee;
font-family: system-ui,sans-serif;
color: #222
}
.card-012__avatar {
flex: none;
width: 64px;
height: 64px;
border-radius: 16px;
background: linear-gradient(135deg,#a7f3d0,#059669)
}
.card-012 h3 {
margin: 0;
font-size: 16px
}
.card-012 p {
margin: 2px 0 8px;
font-size: 13px;
color: #777
}
.card-012__links {
display: flex;
gap: 6px
}
.card-012__links a {
width: 26px;
height: 26px;
display: grid;
place-items: center;
border-radius: 6px;
background: #f3f4f6;
font-size: 11px;
font-weight: 700;
color: #444;
text-decoration: none;
transition: background .15s,color .15s
}
.card-012__links a:hover {
background: #059669;
color: #fff
}
.card-012 :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
HTML
<article class="card-012">
<div class="card-012__avatar"></div>
<div>
<h3>Priya Natarajan</h3>
<p>Engineering lead</p>
<div class="card-012__links"><a href="#">X</a><a href="#">in</a><a href="#">gh</a></div>
</div>
</article>Prompt
Erstelle eine 320px horizontale Team-Card: Flex-Zeile mit 16px Gap und Padding, weiß, 14px Radius, 1px #eee Rahmen. Links ein 64px Avatar mit 16px abgerundeten Ecken und einem 135deg Gradient #a7f3d0 zu #059669. Rechts: 16px Name, 13px Rolle in #777 und eine Reihe aus drei 26px quadratischen Social-Chips (6px Radius, #f3f4f6 Hintergrund, 11px fetter Text), die beim Hover #059669 mit weißem Text werden.