# Team Member Card

> A centered team member card for about pages, with a ringed portrait, role and round contact links.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: team, about page, staff, social links, avatar, portrait
- Live preview: https://copy-css.com/snippets/team-member-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<article class="team-card">
  <span class="team-card-photo" aria-hidden="true">LK</span>
  <h3>Leo Kim</h3>
  <p>Head of Engineering</p>
  <ul class="team-card-links">
    <li>
      <a href="#" aria-label="Email Leo">
        <svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/></svg>
      </a>
    </li>
    <li>
      <a href="#" aria-label="Leo's website">
        <svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/></svg>
      </a>
    </li>
  </ul>
</article>
```

## CSS

```css
.team-card {
  --accent: #0d9488;
  width: 200px;
  padding: 20px 16px;
  border: 1px solid #ccfbf1;
  border-radius: 16px;
  background: #fff;
  color: #134e4a;
  font-family: system-ui, sans-serif;
  text-align: center;
}

.team-card-photo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5eead4, #0f766e);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.team-card h3 {
  margin: 0;
  font-size: 16px;
}

.team-card p {
  margin: 2px 0 12px;
  color: #5f7f7c;
  font-size: 13px;
}

.team-card-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f0fdfa;
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}

.team-card-links a:hover {
  background: var(--accent);
  color: #fff;
}

.team-card-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.team-card-links svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
```

## Notes

- This CSS Team Member Card is 76 lines of pure CSS (1.3 KB) with no JavaScript and no dependencies. It uses transitions, linear gradients, box shadows and CSS Grid.
- Customize with: `--accent`.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
