Animación básica con animate() jQuery


/ Published in: jQuery
Save to your folder(s)

Con este código se consigue una animación básica de jQuery


Copy this code and paste it in your HTML
  1. $('#clickme').click(function() {
  2. $('#book').animate({
  3. opacity: 0.25,
  4. left: '+=50',
  5. height: 'toggle'
  6. }, 5000, function() {
  7. // Animation complete.
  8. });
  9. });

URL: jquery animate animacion

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.