# CTA-Banner Gradient (B 193)

Kategorie: Buttons  
Tags: cta, banner, wide, subtitle, gradient, centered  
Seite: https://designforai.dev/de/snippet/btn-193

## Prompt

Ein zentrierter Gradient-CTA-Banner (bis 480px): Indigo zu Violett zu Pink (#4f46e5, #7c3aed, #db2777) bei 200% Breite, 18px Radius, 22px mal 28px Padding, eine 20px extra-bold weiße Headline über einem 13px blassliliafarbenen #e9d5ff Untertitel, violetter Glow-Schatten. Hover schiebt den Gradient Richtung Pink (500ms) und hebt 2px an; Active setzt sich ab. Focus: 3px violette Outline.

## HTML

```html
<button class="btn-193"><span>Upgrade to Pro</span><small>Unlimited projects and priority support</small></button>
```

## CSS

```css
.btn-193 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 480px;
  color: #fff;
  background: linear-gradient(120deg,#4f46e5,#7c3aed 50%,#db2777);
  background-size: 200% 100%;
  border: 0;
  border-radius: 18px;
  padding: 22px 28px;
  cursor: pointer;
  box-shadow: 0 12px 32px -12px #7c3aedaa;
  transition: background-position .5s,transform .2s,box-shadow .2s
}
.btn-193 span {
  font: 800 20px/1.1 system-ui,sans-serif;
  letter-spacing: -.01em
}
.btn-193 small {
  font: 500 13px/1.3 system-ui,sans-serif;
  color: #e9d5ff
}
.btn-193:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px #db2777aa
}
.btn-193:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 3px
}
.btn-193:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px -8px #7c3aedaa
}
```
