After scaling an image with开发者_运维知识库 the help of CSS3's scale
property, how to get the actual width/height of the image?
scale = 1.4;
$('#image').css('transform', 'scale('+scale+')');
var actual_height = $('#image').height() * scale;
After scaling an image with开发者_运维知识库 the help of CSS3's scale
property, how to get the actual width/height of the image?
scale = 1.4;
$('#image').css('transform', 'scale('+scale+')');
var actual_height = $('#image').height() * scale;
精彩评论