# Glowing Border Card

> A dark card with a gradient border and a colorful ambient glow.

- Category: [CSS Cards](https://copy-css.com/category/cards)
- Tags: gradient, border, glow, dark
- Live preview: https://copy-css.com/snippets/glow-border-card
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="card-glow">
  <h3>Pro plan</h3>
  <p>Everything you need to ship faster.</p>
</div>
```

## CSS

```css
.card-glow {
  width: 220px;
  padding: 24px;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#0f172a, #0f172a) padding-box,
    linear-gradient(135deg, #22d3ee, #a855f7, #f43f5e) border-box;
  box-shadow:
    -12px -12px 40px -16px #22d3ee,
    12px 12px 40px -16px #f43f5e;
  color: #e2e8f0;
  font-family: system-ui, sans-serif;
}

.card-glow h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card-glow p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}
```

## Notes

- This CSS Glowing Border Card is 26 lines of pure CSS (0.5 KB) with no JavaScript and no dependencies. It uses linear gradients and box shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
