Doppel-Paar

Doppel-Paar: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.

splitdualprimary-secondarypair

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)
}
HTML
<div class="btn-090"><button class="s">Cancel</button><button class="p">Confirm</button></div>
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.