# Glass with inner light (B 037)

Category: Buttons  
Tags: glassmorphism, rounded, inner-gradient, premium  
Page: https://designforai.dev/snippet/btn-037

## Prompt

A dark glass button: vertical fill from 14% to 4% white, 1px 18% white border with a brighter 40% top edge, 10px backdrop blur, deep 0 10px 30px black shadow, 10px radius, 12px by 24px padding, white 14px semibold text. Hover brightens the fill (22% to 8%) and lifts 1px; active flattens to 6% white. Focus outline 2px 70% white.

## HTML

```html
<div style="background:#0f0f14;padding:28px"><button class="btn-037">Join beta</button></div>
```

## CSS

```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)
}
```
