All styles
Retro

Varsity CSS Button

Free28 lines · no JS · WCAG AAA 9.3 · light-safe
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-varsity {
  display: inline-block;
  padding: 12px 30px;
  border: 3px solid #fef3c7;
  border-radius: 10px;
  background: #1e3a8a;
  color: #fef3c7;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 3px #1e3a8a, 0 5px 0 3px #172554;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-varsity:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px #1e3a8a, 0 7px 0 3px #172554;
}
.btn-varsity:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 3px #1e3a8a, 0 2px 0 3px #172554;
}
.btn-varsity:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-varsity
RetroRounded

Implementation notes

About the Varsity CSS button

Varsity uses nostalgic visual cues paired with modern interaction states. Its rounded corners balance product-friendly softness with a clear boundary. It combines a two-layer shadow, a 3px border and a 150ms hover lift. The interaction stays intentionally restrained.

Usage

<button class="btn-varsity">TEAM</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
Rounded
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

Pixel Arcade Decision Modal

Pixel Arcade kit

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

Pixel Arcade Smart Input

Pixel Arcade kit

Retro charactertextured surface
Pro preview
Toggle79% match

Pixel Arcade Preference Toggle

Pixel Arcade kit

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

Pixel Arcade Feature Card

Pixel Arcade kit

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

Pixel Arcade Action Menu

Pixel Arcade kit

Retro charactertextured surface
Unlock with Pro →
Pro preview
Form79% 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

Cassette

Sticker Pop

Seventies

Vaporwave

CRT Monitor

8-Bit

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