consolelog.tools logo

Hover Effect Generator

Generate CSS hover effects and transitions for interactive elements

Live Preview

Configuration

CSS Code

.hover-effect {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid hsl(var(--primary));
  background: white;
  color: hsl(var(--primary));
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

Tailwind CSS

className="px-6 py-3 font-semibold border-2 border-blue-500 bg-white text-blue-500 rounded-lg cursor-pointer transition-all duration-300 ease-ease-out hover:-translate-y-2 hover:shadow-lg"

Effect Presets

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Frequently Asked Questions - Hover Effect Generator