# Subrayado doble (B 069)

Categoría: Botones  
Etiquetas: underline, text-button, two-lines, offset  
Página: https://designforai.dev/es/snippet/btn-069

## Prompt

Un botón de texto azul (15px de peso medio, #1e40af, sin caja) con un subrayado permanente de 2px azul pálido #93c5fd; al pasar el cursor una línea sólida #1e40af de 2px se dibuja encima de izquierda a derecha (background-size de 0 a 100%, 300ms). En active el texto se oscurece a #1e3a8a. Outline de foco de 2px azul.

## 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
}
```
