Biblioteca de animaciones Pure JavaScript ligera-Animate. js

Tiempo de ejecución: 30 minutos. Empezar

Autor: bendc
Views Total: 2,410
Sitio oficial: Ir a la web
Actualizado: January 27, 2015
Licencia: MIT

Vista prévia

Biblioteca de animaciones Pure JavaScript ligera-Animate. js

Descripción

Animate. js es una biblioteca JavaScript ligera y autónoma que le permite aplicar animaciones Smooth con tecnología CSS3 (p. ej., rotar, escalar, sesgar, etc.) a cualquier elemento DOM.

Funcionamiento

Cargue la versión minimizada de Animate. js en el documento.

<script src="animate.min.js"></script>

Uso básico:

animate({


// The elements you want to animate.

 el: "div",


// The duration of your animation in milliseconds

duration: 500,


// The animation curve (CSS keyword or cubic-bezier).

 easing: "ease",


// The delay before your animation starts in milliseconds.

delay: 0,


// A function called at the end of the animation.

 complete: function() { alert("Done!") }


// Custom animations

opacity: null

translateX: null

translateY: null

translateZ: null

scaleX: null

scaleY: null

scaleZ: null

rotateX: null

rotateY: null

rotateZ: null

skewX: null

skewY: null

perspective:: null

});

Te puede interesar: