# Doppel-Paar (B 090)

Kategorie: Buttons  
Tags: split, dual, primary-secondary, pair  
Seite: https://designforai.dev/de/snippet/btn-090

## Prompt

Ein verbundenes Button-Paar in einem Container mit 1px Rahmen #d1d5db und 10px Radius: links "Cancel" weiß mit grauem Text #374151, rechts "Confirm" dunkel #111827 mit weißem Text, beide 14px semibold, 12px mal 20px Padding, ohne Lücke. Hover hellt jeweils auf (#f3f4f6 / #1f2937); active dimmt 10%. Fokus-Outline 3px innerhalb der Kante gezeichnet.

## HTML

```html
<div class="btn-090"><button class="s">Cancel</button><button class="p">Confirm</button></div>
```

## CSS

```css
.btn-090 {
  display: inline-flex;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden
}
.btn-090 button {
  font: 600 14px/1 system-ui,sans-serif;
  border: 0;
  padding: 12px 20px;
  cursor: pointer;
  transition: background .15s
}
.btn-090 .s {
  color: #374151;
  background: #fff
}
.btn-090 .s:hover {
  background: #f3f4f6
}
.btn-090 .p {
  color: #fff;
  background: #111827
}
.btn-090 .p:hover {
  background: #1f2937
}
.btn-090 button:focus-visible {
  outline: 2px solid #111827;
  outline-offset: -3px
}
.btn-090 button:active {
  filter: brightness(.9)
}
```
