Ghost invertiert (dunkel)
Ghost invertiert (dunkel): CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-016 {
font: 500 14px/1 system-ui,sans-serif;
color: #e5e7eb;
background: transparent;
border: 1px solid rgba(255,255,255,.25);
border-radius: 8px;
padding: 11px 20px;
cursor: pointer;
transition: border-color .15s,background .15s
}
.btn-016:hover {
border-color: rgba(255,255,255,.6);
background: rgba(255,255,255,.06)
}
.btn-016:focus-visible {
outline: 2px solid #e5e7eb;
outline-offset: 2px
}
.btn-016:active {
background: rgba(255,255,255,.12)
}
HTML
<div style="background:#0b0f19;padding:24px"><button class="btn-016">Watch demo</button></div>Prompt
Ein Ghost-Button für dunkle Hintergründe (#0b0f19): transparent, 1px Rahmen in 25% Weiß, hellgrauer Text #e5e7eb in 14px medium, 8px Radius, 11px mal 20px Padding. Hover hebt den Rahmen auf 60% Weiß und fügt eine 6% weiße Füllung hinzu. Active 12% weiße Füllung. Fokus-Outline 2px #e5e7eb.