# Aufsteigende Füllung (B 058)

Kategorie: Buttons  
Tags: hover-fill, slide-up, outline, square  
Seite: https://designforai.dev/de/snippet/btn-058

## Prompt

Ein eckiger Outline-Button mit 2px Navy-Rahmen #1e3a8a, Navy-Text in 14px semibold, weißer Hintergrund, 12px mal 24px Padding. Beim Hover steigt ein Navy-Panel von der Unterkante auf und füllt ihn (250ms), der Text wird weiß. Active #172554. Fokus-Outline 2px Navy.

## HTML

```html
<button class="btn-058">Rise</button>
```

## CSS

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