Glut Slide-Füllung
Glut Slide-Füllung: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-057 {
position: relative;
overflow: hidden;
font: 600 14px/1 system-ui,sans-serif;
color: #c2410c;
background: transparent;
border: 2px solid #c2410c;
border-radius: 8px;
padding: 12px 24px;
cursor: pointer;
z-index: 0;
transition: color .25s
}
.btn-057::before {
content: "";
position: absolute;
inset: 0;
background: #c2410c;
transform: translateX(-101%);
transition: transform .25s ease;
z-index: -1
}
.btn-057:hover {
color: #fff
}
.btn-057:hover::before {
transform: translateX(0)
}
.btn-057:focus-visible {
outline: 2px solid #c2410c;
outline-offset: 3px
}
.btn-057:active::before {
background: #9a3412
}
HTML
<button class="btn-057">Ignite</button>Prompt
Ein Outline-Button mit 2px Rahmen in gebranntem Orange #c2410c und passendem Text, 8px Radius, 12px mal 24px Padding. Beim Hover schiebt sich ein #c2410c Panel von der linken Kante herein (translateX von -101% auf 0 in 250ms), füllt den Button und der Text wird weiß. Active dunkelt die Füllung auf #9a3412. Fokus-Outline 2px Orange.