Esta página aún no está traducida al español, así que la mostramos en inglés.

CSS Hover Effects Generator

Design hover animations for buttons, cards, links and icons. Pick an effect, try it on different elements and copy CSS that runs on :hover and keyboard focus.

Actualizado el
PresetsHover a tile to preview, click to load and edit
Transform origin
Import existing @keyframes
0%
KeyframesClick the track to add · drag diamonds to move

    

Tus datos nunca salen de tu ordenador. Todo se procesa localmente en tu navegador.

Cómo usar: CSS Hover Animation Generator

  1. Choose a hover preset such as Grow, Lift, Tilt or Buzz.
  2. Switch the preview between button, card, icon and text, and hover it to test.
  3. Adjust duration, easing and keyframes until it feels right.
  4. Copy the CSS — it also applies on :focus-visible for keyboard users.

Hover animation vs transition

For a simple A-to-B change, a transition is enough and reverses smoothly when the pointer leaves. Keyframe animations on :hover shine when the effect has several steps (a bounce, a buzz, a wobble) or should loop while hovered. This generator outputs both :hover and :focus-visible selectors so keyboard users get the same feedback, and keeps effects subtle — around 150–300 ms feels responsive.

What you can build

  • Keyframe timeline — add as many keyframes as you like, drag them to new percentages, and give each its own easing.
  • Properties — translate X/Y, rotate, 3D rotate X/Y, scale, skew, opacity, blur, glow (box-shadow), background color and border radius. Missing values are interpolated, so transforms never jump.
  • Triggers — on load, hover, click, when scrolled into view, or a CSS-only scroll-driven animation.
  • Stagger — animate a list one item after another with a single CSS custom property.
  • Inspect — pause, scrub frame by frame, slow down to ¼ speed and switch on onion skin to see every keyframe at once.
  • Export — CSS shorthand or longhand, HTML, JavaScript, Tailwind v3 and v4, a SCSS mixin, a standalone demo file or a share link.

The animation shorthand

PartExampleMeaning
namefade-in-upThe @keyframes rule to run
duration0.6sLength of one cycle
timing functioncubic-bezier(.33,1,.68,1)Speed curve between keyframes
delay0.2sWait before starting; negative values start part-way through
iteration countinfiniteHow many cycles
directionalternatePlay backwards on every other cycle
fill modebothKeep the first frame before and the last frame after playing

Accessibility

Some people get dizzy or nauseous from motion. With Respect prefers-reduced-motion on, the CSS switches the animation off for visitors who have enabled “reduce motion” in their operating system. Avoid flashing more than three times a second, and keep looping animations subtle or give users a way to pause them.

Performance tips

Animate transform and opacity instead of top, left, width or margin, which force layout on every frame. Add will-change only to elements that are about to animate. Shape your easing with the cubic-bezier generator, add a spinner from the CSS loader generator, and pair animations with box shadows or gradients.

También se busca como: css hover effects, hover animation css, button hover effect, css hover generator, card hover effect, hover effects css.

Herramientas que combinan con: CSS Hover Animation Generator

  • CSS Animation Generator — Design CSS animations on a real keyframe timeline.
  • CSS Keyframes Generator — A visual editor for @keyframes.
  • Glassmorphism Generator — Design a frosted-glass card with live sliders and copy cross-browser CSS — with the -webkit-backdrop-filter prefix and a fallback for older browsers.
  • Calculadora de abrazaderas — Introduce un tamaño mínimo y máximo y el rango de la ventana de visualización: obtendrás un valor fácil de ajustar con el zoom clamp() con una explicación de los cálculos, una vista previa en directo y una escala completa y fluida de tipo o espacio.

Preguntas frecuentes

Is the generated CSS free to use?
Yes. Every preset was written for this tool and the output is plain CSS with no library, license or attribution required.
Can I edit an animation I already have?
Yes. Open Import existing @keyframes, paste your CSS and it is turned into editable keyframes. Opacity, transforms (translate, rotate, rotateX/Y, scale, skew), blur, background color, border radius and glow shadows are supported.
How do I start the animation when the element scrolls into view?
Choose the trigger When scrolled into view for a tiny IntersectionObserver script that works everywhere, or Scroll-driven (CSS only) for animation-timeline: view() with no JavaScript in browsers that support it.
Does it work with Tailwind CSS?
Yes. The Tailwind tabs give a tailwind.config.js block for v3 and an @theme block for v4, so you can use the animation as an animate-* class.
Which properties are best for smooth animation?
transform and opacity run on the GPU compositor and stay smooth even on slow phones. Blur, shadows, colors and border radius cost more, so use them sparingly on large elements.
¿Puedo instalar CSS Hover Animation Generator como aplicación web y utilizarla sin conexión?
Sí. CSS Hover Animation Generator es una aplicación web instalable (PWA): se instala desde el navegador, no se descarga desde una tienda de aplicaciones. Haz clic en «Instalar aplicación» en la parte superior de esta página en Chrome o Edge (Windows, macOS, Linux, ChromeOS) o, en Android, utiliza «Compartir» → «Añadir a la pantalla de inicio» en iPhone y iPad, o «Archivo» → «Añadir al Dock» en Safari 17+ en un Mac. A continuación, se abrirá en su propia ventana con su propio icono y, como se ejecuta íntegramente en tu navegador, seguirá funcionando sin conexión. Firefox en el ordenador de sobremesa no permite instalar aplicaciones web. Cómo funciona la instalación.

Herramientas relacionadas