# Glow Button

> A gradient call-to-action button with a soft colored glow that lifts on hover.

- Category: [CSS Buttons](https://copy-css.com/category/buttons)
- Tags: gradient, hover, shadow, cta
- Live preview: https://copy-css.com/snippets/glow-button
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<button class="btn-glow">Get started</button>
```

## CSS

```css
.btn-glow {
  padding: 14px 32px;
  border: 0;
  border-radius: 12px;
  font: 600 16px/1 system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  box-shadow: 0 10px 24px -8px rgba(139, 92, 246, 0.7);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(139, 92, 246, 0.85);
}

.btn-glow:active {
  transform: translateY(0);
}
```

## Notes

- This CSS Glow Button is 20 lines of pure CSS (0.5 KB) with no JavaScript and no dependencies. It uses transitions, transforms, linear gradients and box shadows.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
