Qué es Generador de transiciones discretas?
Generador de transiciones discretas es una herramienta de navegador para esta tarea: Genera CSS para animar elementos que aparecen o desaparecen. La salida es fácil de revisar antes de usarla en un sitio publicado.
Quick answer
Discrete transitions enable CSS transitions for display:none and other discrete properties when an element enters or leaves the DOM. Use @starting-style to define the initial state before the element appears.
Limitations
- Discrete transitions for display require Chrome 117+ or Safari 17.5+. Firefox support is behind a flag as of early 2026.
- @starting-style is required for the entry animation. Without it the element snaps into its final state before starting the transition.
- Discrete transitions only animate the entry and exit where display changes. Mid-state transitions between intermediate values are not supported for discrete properties.
Cómo usar esta herramienta
- Abre la herramienta y escribe los valores necesarios.
- Revisa la salida en el panel de resultado.
- Copia solo la parte que encaja con tu página.
- Prueba el cambio antes de publicar.
Para qué puedes usarla
- Resolver tareas repetidas de publicación con menos fricción.
- Preparar marcado, CSS o checklists antes del lanzamiento.
- Evitar pequeños errores comunes en sitios estáticos.