css3 transform scale stick to bottom
use the transform-origin
property :
element{
-webkit-transform : scale(0.5);
-moz-transform : scale(0.5);
-o-transform : scale(0.5);
-ms-transform : scale(0.5);
transform : scale(0.5);
-webkit-transform-origin : 50% 100%;
-moz-transform-origin : 50% 100%;
-o-transform-origin : 50% 100%;
-ms-transform-origin : 50% 100%;
transform-origin : 50% 100%;
}
Here's a live demo that shows the transform-origin
in action.