All styles
Brutalist

Offset Punch CSS Button

Free27 lines · no JS · WCAG AA large 3.8 · light-safe
Open in Studio
Theme

A real <button> carrying .btn-offset-punch — the preview is the stylesheet, not a picture of it.

States
default
hover
focus-visible
active
disabled
not declared
.btn-offset-punch {
  display: inline-block;
  padding: 13px 28px;
  border: 3px solid #000000;
  border-radius: 0;
  background: #ef4444;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 8px 8px 0 #000000;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn-offset-punch:hover {
  transform: translate(8px, 8px);
  box-shadow: 0 0 0 #000000;
}
.btn-offset-punch:active {
  background: #dc2626;
}
.btn-offset-punch:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-offset-punch
BrutalistSquare

Implementation notes

About the Offset Punch CSS button

Offset Punch uses direct typography, strong borders and deliberately exposed structure. Its square geometry creates a compact, precise control. It combines a 3px border and a 100ms hover shift. The interaction stays intentionally restrained.

Usage

<button class="btn-offset-punch">Button</button>

Pair it with the CSS tab above — the class is self-contained.

Before shipping: keep the semantic button element, verify contrast on your actual background and add a visible:focus-visible state. If you retain motion, include a prefers-reduced-motion override.
Built with
HTML + plain CSS
Shape
Square
Exports
CSS, Tailwind, React
License
MIT · commercial use
Complete the look

Build the interface around this button

We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.

Style DNA · v1
How matching works →
Pro preview
Modal86% match

Neo Pop Decision Modal

Neo Pop kit

Brutalist charactersolid surface
Unlock with Pro →
Free sample
Input86% match

Neo Pop Smart Input

Neo Pop kit

Brutalist charactersolid surface
Pro preview
Toggle86% match

Neo Pop Preference Toggle

Neo Pop kit

Brutalist charactersolid surface
Unlock with Pro →
Pro preview
Card86% match

Neo Pop Feature Card

Neo Pop kit

Brutalist charactersolid surface
Unlock with Pro →
Pro preview
Dropdown86% match

Neo Pop Action Menu

Neo Pop kit

Brutalist charactersolid surface
Unlock with Pro →
Pro preview
Form86% match

Neo Pop Signup Form

Neo Pop kit

Brutalist charactersolid surface
Unlock with Pro →
Get the complete Neo Pop kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Anti Design

Brutal Pink

Echo Shadow

Raw Block

Mono Brutal

Stamp Crooked

Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does