Hi there,
I've put up a basic example of how you would do this at:
http://jsbin.com/ahevu
(to edit the code, go to http://jsbin.com/ahevu/edit)
I've used mouseenter to demonstrate - if you need a hover effect, then
you will need to save the original dimensions/position of the div you
are anim
Try animating the position at the same time. Or, position the element based
on the corner that you want to remain fixed. Exactly how to do it depends
on what other restrictions you have on what you are trying to do. Put
together a sample page.
On Sat, Jan 9, 2010 at 11:22 AM, Wroathe wrote:
>
Hi there! I was curious if there is a way to set up custom animations
so that a div will expand from a specified corner to another specified
corner?
(Ex. If I have a div with a background color of #000 that is 200px by
200px and when I hover over it it expands to 500px by 500px from top
left to bo
3 matches
Mail list logo