Joined button group
Joined button group: a CSS button. Copy the rules, or the prompt that rebuilds it.
CSS
.btn-099 {
display: inline-flex
}
.btn-099 button {
font: 500 13px/1 system-ui,sans-serif;
color: #374151;
background: #fff;
border: 1px solid #d1d5db;
margin-left: -1px;
padding: 9px 16px;
cursor: pointer;
transition: background .12s,color .12s
}
.btn-099 button:first-child {
margin-left: 0;
border-radius: 6px 0 0 6px
}
.btn-099 button:last-child {
border-radius: 0 6px 6px 0
}
.btn-099 button:hover {
background: #f3f4f6;
color: #111827;
position: relative;
z-index: 1;
border-color: #9ca3af
}
.btn-099 button:focus-visible {
outline: 2px solid #111827;
outline-offset: 1px;
position: relative;
z-index: 2
}
.btn-099 button:active {
background: #e5e7eb
}
HTML
<div class="btn-099"><button>Left</button><button>Center</button><button>Right</button></div>Prompt
A joined three-button group (Left / Center / Right): white buttons with 1px #d1d5db borders that overlap by 1px so only single lines separate them, 6px radius on the outer corners only, grey text #374151 at 13px medium, 9px by 16px padding. Hover #f3f4f6 with a #9ca3af border lifted above its neighbours; active #e5e7eb. Focus outline 2px dark.