# Testimonial Card

> A quote card with a large decorative quotation mark and an author line.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: testimonial, quote, review, blockquote, social proof
- Live preview: https://copy-css.com/snippets/testimonial-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<figure class="quote-card">
  <blockquote>Paste, tweak two colors, done. It saved me an afternoon.</blockquote>
  <figcaption><strong>Sam Rivera</strong> · Front-end developer</figcaption>
</figure>
```

## CSS

```css
.quote-card {
  position: relative;
  max-width: 260px;
  margin: 0;
  padding: 28px 22px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px -10px rgba(113, 63, 18, 0.25);
  font-family: system-ui, sans-serif;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 16px;
  color: #facc15;
  font: 900 72px/1 Georgia, serif;
}

.quote-card blockquote {
  margin: 0 0 12px;
  color: #1c1917;
  font-size: 15px;
  line-height: 1.5;
}

.quote-card figcaption {
  color: #78716c;
  font-size: 12px;
}

.quote-card strong {
  color: #1c1917;
}
```

## Notes

- This CSS Testimonial Card is 35 lines of pure CSS (0.6 KB) with no JavaScript and no dependencies. It uses box shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
