# Inset fill vertical (B 147)

Category: Buttons  
Tags: inset-fill, outline, pill, box-shadow, bottom-up  
Page: https://designforai.dev/snippet/btn-147

## Prompt

A rose outline pill: transparent background, 2px #be123c border, rose 14px semibold text, 12px by 26px padding. On hover a rose fill rises from the bottom (inset box-shadow with a -48px vertical offset) and the text turns white, 250ms. Active uses the darker #9f1239. Focus 2px rose outline offset 3px.

## HTML

```html
<button class="btn-147">Subscribe</button>
```

## CSS

```css
.btn-147 {
  font: 600 14px/1 system-ui,sans-serif;
  color: #be123c;
  background: transparent;
  border: 2px solid #be123c;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #be123c;
  transition: box-shadow .25s,color .25s
}
.btn-147:hover {
  box-shadow: inset 0 -48px 0 0 #be123c;
  color: #fff
}
.btn-147:focus-visible {
  outline: 2px solid #be123c;
  outline-offset: 3px
}
.btn-147:active {
  box-shadow: inset 0 -48px 0 0 #9f1239;
  border-color: #9f1239
}
```
