CSS Button Generator

25+ Presets • 12 Animations • 10 Hover Effects • Gradient Support

⌘+C Copy CSS⌘+T Tailwind⌘+S Save⌘+R Random
CSS Code
.custom-button {
  background: #667eea;
  color: #ffffff;
  border: 0px solid #667eea;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  outline: none;
}

.custom-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.custom-button:active {
  transform: scale(0.97);
}

.custom-button:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}
#667eea
#ffffff

Button Presets (28)

Frequently Asked Questions

Common questions about CSS Buttons

01

How many button presets are available?

02

Can I create custom animations?

03

How do I add gradient buttons?

04

What hover effects are available?

05

Can I save multiple buttons?

06

Is this compatible with all frameworks?