Ghost with border-on-hover
Ghost with border-on-hover: a CSS button. Copy the rules, or the prompt that rebuilds it.
CSS
.btn-014 {
font: 500 14px/1 system-ui,sans-serif;
color: #374151;
background: transparent;
border: 1px solid transparent;
border-radius: 8px;
padding: 10px 16px;
cursor: pointer;
transition: border-color .15s,background .15s
}
.btn-014:hover {
border-color: #d1d5db;
background: #fff
}
.btn-014:focus-visible {
outline: 2px solid #374151;
outline-offset: 2px
}
.btn-014:active {
background: #f3f4f6;
border-color: #9ca3af
}
HTML
<button class="btn-014">Settings</button>Prompt
A ghost button that only reveals its border on hover: text #374151 at 14px medium, transparent 1px border reserving space, 8px radius, 10px by 16px padding. Hover shows a #d1d5db border and white background. Active grey #f3f4f6 with #9ca3af border. Focus outline 2px #374151.