# Gestrichelte Outline (B 012)

Kategorie: Buttons  
Tags: outline, dashed, rectangle, add-action  
Seite: https://designforai.dev/de/snippet/btn-012

## Prompt

Ein Button im Stil von "Element hinzufügen" mit 2px gestricheltem Rahmen #d1d5db, grauem Text #6b7280 in 14px, 8px Radius, 12px mal 20px Padding, transparenter Hintergrund. Hover färbt Rahmen und Text blau #2563eb und den Hintergrund blassblau #eff6ff. Active #dbeafe. Fokus-Outline 2px Blau.

## HTML

```html
<button class="btn-012">+ Add item</button>
```

## CSS

```css
.btn-012 {
  font: 500 14px/1 system-ui,sans-serif;
  color: #6b7280;
  background: transparent;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color .15s,color .15s,background .15s
}
.btn-012:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff
}
.btn-012:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px
}
.btn-012:active {
  background: #dbeafe
}
```
