Grow your CSS skills. Land your dream job.

.animate() to the left dammit!

  • # March 1, 2011 at 7:59 am

    $("#about").click(function() {
    $("#about").animate({ width: "650px", height: "400px" }, 500, function() {
    $(".overlay").fadeIn(400);
    return false;
    });
    return false;
    });

    This is what I using atm. Works perfect but I want it to animate to the left and upwards not to the right and downwards?
    Is there any way to change this?

    Sort of like this:

    width: ["650px", "left"]

    Thank you!

    # March 1, 2011 at 10:55 am

    Animate the margins as well. That’s what I always do.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".