# Icon-Box geteilt (B 080)

Kategorie: Buttons  
Tags: icon, arrow, boxed-icon, two-part  
Seite: https://designforai.dev/de/snippet/btn-080

## Prompt

Ein Rosé #e11d48 Button, 44px hoch, weißer Text 14px semibold mit 20px Padding links und einer dunkleren Box rechts (20% schwarzes Overlay, 12px horizontales Padding) mit einem 16px Inline-SVG Diagonalpfeil. Beim Hover dunkelt der Button auf #be123c und der Pfeil rückt 2px nach oben rechts. Active #9f1239. 8px Radius. Fokus-Outline 2px Rosé.

## HTML

```html
<button class="btn-080">Book a call<span><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17L17 7M8 7h9v9"/></svg></span></button>
```

## CSS

```css
.btn-080 {
  display: inline-flex;
  align-items: stretch;
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #e11d48;
  border: 0;
  border-radius: 8px;
  padding: 0 0 0 20px;
  cursor: pointer;
  overflow: hidden;
  transition: background .15s
}
.btn-080 span {
  display: grid;
  place-items: center;
  margin-left: 16px;
  padding: 0 12px;
  background: rgba(0,0,0,.2);
  transition: background .15s
}
.btn-080 span svg {
  transition: transform .2s
}
.btn-080 {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 44px
}
.btn-080:hover {
  background: #be123c
}
.btn-080:hover span svg {
  transform: translate(2px,-2px)
}
.btn-080:focus-visible {
  outline: 2px solid #e11d48;
  outline-offset: 3px
}
.btn-080:active {
  background: #9f1239
}
```
