# Inset-Füllung Duo (B 149)

Kategorie: Buttons  
Tags: inset-fill, outline, rectangle, box-shadow, two-shadows  
Seite: https://designforai.dev/de/snippet/btn-149

## Prompt

Ein blauer Outline-Button (transparent, 2px Rahmen #1d4ed8, 4px Radius, blauer Text 14px semibold, 12px mal 24px Padding), der sich beim Hover von beiden Seiten zugleich füllt: zwei inset box-shadows, einer mit +110px und einer mit -110px horizontalem Versatz, treffen sich in der Mitte, während der Text weiß wird, 300ms. Active dunkelt auf #1e3a8a. Fokus 2px blaue Outline.

## HTML

```html
<button class="btn-149">Compare</button>
```

## CSS

```css
.btn-149 {
  font: 600 14px/1 system-ui,sans-serif;
  color: #1d4ed8;
  background: transparent;
  border: 2px solid #1d4ed8;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 #1d4ed8,inset 0 0 0 0 #1d4ed8;
  transition: box-shadow .3s,color .3s
}
.btn-149:hover {
  box-shadow: inset 110px 0 0 0 #1d4ed8,inset -110px 0 0 0 #1d4ed8;
  color: #fff
}
.btn-149:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px
}
.btn-149:active {
  box-shadow: inset 110px 0 0 0 #1e3a8a,inset -110px 0 0 0 #1e3a8a;
  border-color: #1e3a8a
}
```
