Sublinhado do centro
Sublinhado do centro: um botão em CSS. Copie as regras, ou o prompt que o reconstrói.
CSS
.btn-066 {
position: relative;
font: 500 15px/1 Georgia,serif;
color: #292524;
background: none;
border: 0;
padding: 6px 2px;
cursor: pointer
}
.btn-066::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1px;
background: #b45309;
transform: scaleX(0);
transform-origin: center;
transition: transform .3s
}
.btn-066:hover::after {
transform: scaleX(1)
}
.btn-066:focus-visible {
outline: 2px solid #b45309;
outline-offset: 4px
}
.btn-066:active {
color: #b45309
}
HTML
<button class="btn-066">Our story</button>Prompt
Um botão de texto serifado (15px, #292524, sem caixa) com um sublinhado fino de 1px âmbar #b45309 que cresce do centro para fora no hover (scaleX de 0 a 1, origem no centro, 300ms). No active o texto fica âmbar. Outline de foco de 2px âmbar.