All styles
Retro

Pixel Blaster CSS Button

Free26 lines · no JS · WCAG AA 5.4
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-pixel-blaster {
  display: inline-block;
  padding: 14px 24px;
  border: none;
  background: #a21caf;
  color: #fce7f3;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.35), inset 4px 4px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.1s ease;
}
.btn-pixel-blaster:hover {
  filter: brightness(1.15);
}
.btn-pixel-blaster:active {
  box-shadow: inset 4px 4px 0 rgba(0, 0, 0, 0.35), inset -4px -4px 0 rgba(255, 255, 255, 0.2);
}
.btn-pixel-blaster:focus-visible {
  outline: 2px solid #a21caf;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-pixel-blaster
RetroCut Corner

Implementation notes

About the Pixel Blaster CSS button

Pixel Blaster uses nostalgic visual cues paired with modern interaction states. Its cut corners add a technical accent without relying on an image asset. Its depth comes from a two-layer shadow. The interaction stays intentionally restrained.

Usage

<button class="btn-pixel-blaster">FIRE!</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
Cut Corner
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
Modal89% match

Pixel Arcade Decision Modal

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Free sample
Input89% match

Pixel Arcade Smart Input

Pixel Arcade kit

Retro charactertextured surface
Pro preview
Toggle89% match

Pixel Arcade Preference Toggle

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Card89% match

Pixel Arcade Feature Card

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Dropdown89% match

Pixel Arcade Action Menu

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Form89% match

Pixel Arcade Signup Form

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Get the complete Pixel Arcade kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Terminal Green

Vaporwave

8-Bit

Windows 95

Newsprint

Wild West

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