# Inverted ghost (on dark) (B 016)

Category: Buttons  
Tags: ghost, outline, dark-background, white-border  
Page: https://designforai.dev/snippet/btn-016

## Prompt

A ghost button for dark backgrounds (#0b0f19): transparent, 1px border at 25% white, light grey text #e5e7eb at 14px medium, 8px radius, 11px by 20px padding. Hover raises the border to 60% white and adds a 6% white fill. Active 12% white fill. Focus outline 2px #e5e7eb.

## HTML

```html
<div style="background:#0b0f19;padding:24px"><button class="btn-016">Watch demo</button></div>
```

## CSS

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