Pfeil-Schubs
Pfeil-Schubs: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-076 {
display: inline-flex;
align-items: center;
gap: 8px;
font: 600 14px/1 system-ui,sans-serif;
color: #fff;
background: #0f172a;
border: 0;
border-radius: 8px;
padding: 12px 18px 12px 22px;
cursor: pointer;
transition: background .15s
}
.btn-076 svg {
transition: transform .2s
}
.btn-076:hover {
background: #1e293b
}
.btn-076:hover svg {
transform: translateX(4px)
}
.btn-076:focus-visible {
outline: 2px solid #0f172a;
outline-offset: 3px
}
.btn-076:active {
background: #020617
}
HTML
<button class="btn-076">Next step <svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg></button>Prompt
Ein dunkler #0f172a Button mit weißem Text 14px semibold und einem 16px Inline-SVG Pfeil nach rechts auf der rechten Seite (8px Abstand), 8px Radius, Padding 12px oben/unten, 22px links, 18px rechts. Beim Hover hellt der Hintergrund auf #1e293b und der Pfeil rückt 4px nach rechts (200ms). Active #020617. Fokus-Outline 2px Dunkel.