Glass with glow edge
Glass with glow edge: a CSS button. Copy the rules, or the prompt that rebuilds it.
CSS
.btn-034 {
position: relative;
font: 600 14px/1 system-ui,sans-serif;
color: #fff;
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.15);
border-radius: 999px;
padding: 12px 26px;
cursor: pointer;
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
box-shadow: 0 0 0 0 rgba(56,189,248,0);
transition: box-shadow .25s,border-color .25s,background .25s
}
.btn-034:hover {
border-color: rgba(56,189,248,.7);
box-shadow: 0 0 18px rgba(56,189,248,.35);
background: rgba(56,189,248,.1)
}
.btn-034:focus-visible {
outline: 2px solid #38bdf8;
outline-offset: 3px
}
.btn-034:active {
box-shadow: 0 0 8px rgba(56,189,248,.3)
}
HTML
<div style="background:#111827;padding:28px"><button class="btn-034">Launch</button></div>Prompt
A glass pill on dark #111827: 6% white fill, 8px backdrop blur, 1px 15% white border, white 14px semibold text, 12px by 26px padding. On hover the border turns sky blue #38bdf8 at 70%, an 18px sky glow appears and the fill tints 10% sky. Active shrinks the glow to 8px. Focus outline 2px sky.