# Klammer-Reveal (B 068)

Kategorie: Buttons  
Tags: border-draw, brackets, text-button, minimal  
Seite: https://designforai.dev/de/snippet/btn-068

## Prompt

Ein Monospace-Text-Button (14px semibold, #1f2937, keine Box, 8px mal 18px Padding). Beim Hover blendet sich links ein "[" und rechts ein "]" ein, jedes gleitet beim Erscheinen 6px nach außen (150ms). Active graut den Text. Fokus-Outline 2px Dunkel.

## HTML

```html
<button class="btn-068">Menu</button>
```

## CSS

```css
.btn-068 {
  position: relative;
  font: 600 14px/1 ui-monospace,Menlo,monospace;
  color: #1f2937;
  background: none;
  border: 0;
  padding: 8px 18px;
  cursor: pointer
}
.btn-068::before,.btn-068::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .15s,left .15s,right .15s
}
.btn-068::before {
  content: "[";
  left: 8px
}
.btn-068::after {
  content: "]";
  right: 8px
}
.btn-068:hover::before {
  opacity: 1;
  left: 2px
}
.btn-068:hover::after {
  opacity: 1;
  right: 2px
}
.btn-068:focus-visible {
  outline: 2px solid #1f2937;
  outline-offset: 2px
}
.btn-068:active {
  color: #6b7280
}
```
