Dual pair
Dual pair: a CSS button. Copy the rules, or the prompt that rebuilds it.
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
A joined pair of buttons inside one 1px #d1d5db bordered container with 10px radius: left "Cancel" is white with grey text #374151, right "Confirm" is dark #111827 with white text, both 14px semibold, 12px by 20px padding, no gap. Hover lightens each (#f3f4f6 / #1f2937); active dims 10%. Focus outline drawn 3px inside the edge.