All styles
Minimal

Strike Reveal CSS Button

Free31 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-strike-reveal {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid #2b303b;
  border-radius: 2px;
  background-color: transparent;
  background-image: linear-gradient(#7d838e, #7d838e);
  background-repeat: no-repeat;
  background-size: calc(100% - 48px) 2px;
  background-position: 24px 52%;
  color: #99a0ac;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-size 0.35s ease, background-position 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn-strike-reveal:hover {
  background-size: 0% 2px;
  background-position: calc(100% - 24px) 52%;
  color: #fbbf24;
  border-color: #4a4132;
}
.btn-strike-reveal:active {
  color: #f59e0b;
}
.btn-strike-reveal:focus-visible {
  outline: 2px solid #2b303b;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-strike-reveal
MinimalSquareText FXHover Reveal

Implementation notes

About the Strike Reveal CSS button

Strike Reveal uses restrained decoration that keeps the surrounding content in focus. Its square geometry creates a compact, precise control. The text fx, hover reveal details are included in the copy-paste CSS.

Usage

<button class="btn-strike-reveal">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
Modal79% match

Quiet Paper Decision Modal

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Free sample
Input79% match

Quiet Paper Smart Input

Quiet Paper kit

Minimal characteroutline surface
Pro preview
Toggle79% match

Quiet Paper Preference Toggle

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Card79% match

Quiet Paper Feature Card

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Dropdown79% match

Quiet Paper Action Menu

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Pro preview
Form79% match

Quiet Paper Signup Form

Quiet Paper kit

Minimal characteroutline surface
Unlock with Pro →
Get the complete Quiet Paper kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Framed Air

Hairline

Quiet Type

Under Score

Wave Line

Mono Caps

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