I’m trying to scale a square from 0 to 1.5, however it seems like it starts off the scale of 1.0. How can I make it start from 0?
If you check out my fiddle here:
http://jsfiddle.net/foreyez/eaPpT/
p.s please use a webkit compliant browser for this: chrome or safari.
*Note: I do not want to change the actual style or CSS for this, I want to do this completely programmatically.
jQuery 1.8 adds the prefixes for you, but you should use
-webkit-transform, rather than the JS version with the.css()method.Also, to ensure that it works as expected, I’ve left a little amount of time before changing things:
http://jsfiddle.net/eaPpT/3/