Glas mit Innenlicht
Glas mit Innenlicht: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-037 {
font: 600 14px/1 system-ui,sans-serif;
color: #fff;
background: linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
border: 1px solid rgba(255,255,255,.18);
border-top-color: rgba(255,255,255,.4);
border-radius: 10px;
padding: 12px 24px;
cursor: pointer;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,.4);
transition: background .2s,transform .2s
}
.btn-037:hover {
background: linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.08));
transform: translateY(-1px)
}
.btn-037:focus-visible {
outline: 2px solid rgba(255,255,255,.7);
outline-offset: 3px
}
.btn-037:active {
transform: none;
background: rgba(255,255,255,.06)
}
HTML
<div style="background:#0f0f14;padding:28px"><button class="btn-037">Join beta</button></div>Prompt
Ein dunkler Glas-Button: vertikale Füllung von 14% auf 4% Weiß, 1px Rahmen in 18% Weiß mit hellerer 40% Oberkante, 10px Backdrop-Blur, tiefer schwarzer Schatten 0 10px 30px, 10px Radius, 12px mal 24px Padding, weißer Text 14px semibold. Hover hellt die Füllung auf (22% auf 8%) und hebt 1px; active flacht auf 6% Weiß ab. Fokus-Outline 2px in 70% Weiß.