JQUERY – How to resize an image from center (centered registration point)

Posted by Tobi on Stack Overflow See other posts from Stack Overflow or by Tobi
Published on 2010-05-18T16:03:15Z Indexed on 2010/05/18 16:11 UTC
Read the original article Hit count: 173

Filed under:
|

Trying to resize (enlarge) an image with animate(). Didn't manage to resize it from center – always resizes from the top-left corner.

Is there a way to resize (enlarge) it from a centered registration point? Negative margins/positions didn't work.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animation