All styles
Gradient

Candy Stripe CSS Button

Free24 lines · no JS
Open in Studio
Theme

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

States
default
hover
focus-visible
active
disabled
not declared
.btn-candy-stripe {
  display: inline-block;
  padding: 13px 28px;
  border: none;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #f43f5e 0, #f43f5e 12px, #fb7185 12px, #fb7185 24px);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(136, 19, 55, 0.4);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
}
.btn-candy-stripe:hover {
  filter: brightness(1.08);
}
.btn-candy-stripe:active {
  transform: scale(0.98);
}
.btn-candy-stripe:focus-visible {
  outline: 2px solid #f43f5e;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-candy-stripe
GradientRounded

Implementation notes

About the Candy Stripe CSS button

Candy Stripe uses a layered color treatment for prominent calls to action. Its rounded corners balance product-friendly softness with a clear boundary. It is built around a four-stop linear gradient anchored on #f43f5e. The interaction stays intentionally restrained.

Usage

<button class="btn-candy-stripe">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
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
Modal83% match

Aurora Studio Decision Modal

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Free sample
Input83% match

Aurora Studio Smart Input

Aurora Studio kit

Gradient charactergradient surface
Pro preview
Toggle83% match

Aurora Studio Preference Toggle

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Card83% match

Aurora Studio Feature Card

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Dropdown83% match

Aurora Studio Action Menu

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Pro preview
Form83% match

Aurora Studio Signup Form

Aurora Studio kit

Gradient charactergradient surface
Unlock with Pro →
Get the complete Aurora Studio kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Flamingo

Aurora

Berry Crush

Candy

Citrus Pop

Deep Space

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