Reputation: 493
I'm trying to use CSS3 animations to scale up a div. However, I want to keep the top side of the div where it's at. So I only want the bottom part of the div to scale up. How do I do this?
Upvotes: 1
Views: 452
Reputation: 5590
You must use -transform-origin
, by default at 50% 50%
More info : https://developer.mozilla.org/en/CSS/transform-origin
Upvotes: 1