# Doppelter Unterstrich (B 069)

Kategorie: Buttons  
Tags: underline, text-button, two-lines, offset  
Seite: https://designforai.dev/de/snippet/btn-069

## Prompt

Ein blauer Text-Button (15px medium, #1e40af, keine Box) mit permanentem blassblauem #93c5fd 2px Unterstrich; beim Hover zeichnet sich eine solide #1e40af 2px Linie von links nach rechts darüber (background-size 0 auf 100%, 300ms). Active dunkelt den Text auf #1e3a8a. Fokus-Outline 2px Blau.

## HTML

```html
<button class="btn-069">Documentation</button>
```

## CSS

```css
.btn-069 {
  position: relative;
  font: 500 15px/1 system-ui,sans-serif;
  color: #1e40af;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  background-image: linear-gradient(#1e40af,#1e40af),linear-gradient(#93c5fd,#93c5fd);
  background-repeat: no-repeat;
  background-size: 0 2px,100% 2px;
  background-position: 0 100%,0 100%;
  transition: background-size .3s
}
.btn-069:hover {
  background-size: 100% 2px,100% 2px
}
.btn-069:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 4px
}
.btn-069:active {
  color: #1e3a8a
}
```
