# Pricing Tier Cards

> Three side-by-side pricing tiers with the middle plan raised and highlighted, ready for a pricing page.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: pricing table, plans, tiers, comparison, grid, highlighted
- Live preview: https://copy-css.com/snippets/pricing-tier-cards
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="price-tiers">
  <article class="price-tier">
    <h3>Free</h3>
    <p><strong>$0</strong>/mo</p>
    <a href="#">Start</a>
  </article>
  <article class="price-tier price-tier-pop">
    <h3>Pro</h3>
    <p><strong>$12</strong>/mo</p>
    <a href="#">Upgrade</a>
  </article>
  <article class="price-tier">
    <h3>Team</h3>
    <p><strong>$29</strong>/mo</p>
    <a href="#">Contact</a>
  </article>
</div>
```

## CSS

```css
.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  font-family: system-ui, sans-serif;
}

.price-tier {
  padding: 16px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  text-align: center;
}

.price-tier h3 {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.price-tier p {
  margin: 4px 0 12px;
  color: #64748b;
  font-size: 12px;
}

.price-tier strong {
  color: inherit;
  font-size: 22px;
}

.price-tier a {
  display: block;
  padding: 7px 2px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.price-tier a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.price-tier-pop {
  padding: 24px 8px;
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.55);
  color: #fff;
}

.price-tier-pop h3,
.price-tier-pop p {
  color: #dbeafe;
}

.price-tier-pop a {
  border-color: #fff;
  background: #fff;
  color: #1d4ed8;
}

.price-tier-pop a:focus-visible {
  outline-color: #fff;
}
```

## Notes

- This CSS Pricing Tier Cards is 75 lines of pure CSS (1.2 KB) with no JavaScript and no dependencies. It uses box shadows, CSS Grid and keyboard focus styles.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
