# Ember slide fill (B 057)

Category: Buttons  
Tags: hover-fill, slide-left, outline, rounded  
Page: https://designforai.dev/snippet/btn-057

## Prompt

An outline button with a 2px burnt-orange #c2410c border and matching text, 8px radius, 12px by 24px padding. On hover a solid #c2410c panel slides in from the left edge (translateX from -101% to 0 in 250ms) filling the button while the text turns white. Active darkens the fill to #9a3412. Focus outline 2px orange.

## HTML

```html
<button class="btn-057">Ignite</button>
```

## CSS

```css
.btn-057 {
  position: relative;
  overflow: hidden;
  font: 600 14px/1 system-ui,sans-serif;
  color: #c2410c;
  background: transparent;
  border: 2px solid #c2410c;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  z-index: 0;
  transition: color .25s
}
.btn-057::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #c2410c;
  transform: translateX(-101%);
  transition: transform .25s ease;
  z-index: -1
}
.btn-057:hover {
  color: #fff
}
.btn-057:hover::before {
  transform: translateX(0)
}
.btn-057:focus-visible {
  outline: 2px solid #c2410c;
  outline-offset: 3px
}
.btn-057:active::before {
  background: #9a3412
}
```
